Navigation Menu

Skip to content

Commit

Permalink
Update handles.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
RUSshy committed Jul 17, 2021
1 parent 4519e0c commit b49f5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecs/handles.zig
Expand Up @@ -59,7 +59,7 @@ pub fn Handles(comptime HandleType: type, comptime IndexType: type, comptime Ver
}

pub fn extractId(_: Self, handle: HandleType) IndexType {
return @truncate(IndexType, handle & @as(IndexType, registry.entity_traits.entity_mask));
return @truncate(IndexType, handle & registry.entity_traits.entity_mask);
}

pub fn extractVersion(_: Self, handle: HandleType) VersionType {
Expand Down

0 comments on commit b49f5cf

Please sign in to comment.