Update handles.zig

master
RUSshy 3 years ago committed by GitHub
parent e488cc384f
commit 22b4fe2e02

@ -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 {

Loading…
Cancel
Save