Change Lookup field type to ecs_entity_t

main
copygirl 1 year ago
parent 38baf0c54c
commit 82e2dbe2f2
  1. 2
      src/main.zig

@ -19,7 +19,7 @@ pub fn Context(comptime ctx: anytype) type {
pub fn Lookup(comptime ctx: anytype, comptime T: type) type { pub fn Lookup(comptime ctx: anytype, comptime T: type) type {
_ = .{ ctx, T }; // Only necessary to create a unique type. _ = .{ ctx, T }; // Only necessary to create a unique type.
return struct { return struct {
pub var id: c.ecs_id_t = 0; pub var id: c.ecs_entity_t = 0;
}; };
} }

Loading…
Cancel
Save