From 82e2dbe2f2960223e6fe427e3c4843ec4c1f6bae Mon Sep 17 00:00:00 2001 From: copygirl Date: Mon, 28 Aug 2023 00:06:25 +0200 Subject: [PATCH] Change Lookup field type to ecs_entity_t --- src/main.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index 5bb9222..f1bc61c 100644 --- a/src/main.zig +++ b/src/main.zig @@ -19,7 +19,7 @@ pub fn Context(comptime ctx: anytype) type { pub fn Lookup(comptime ctx: anytype, comptime T: type) type { _ = .{ ctx, T }; // Only necessary to create a unique type. return struct { - pub var id: c.ecs_id_t = 0; + pub var id: c.ecs_entity_t = 0; }; }