From 211c14d7094a550fd1886123dbd52f718163d116 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Tue, 26 Sep 2023 16:02:07 -0400 Subject: use placement new operator in ECS and better asserts --- src/ecs.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ecs.hpp') diff --git a/src/ecs.hpp b/src/ecs.hpp index 1dd8d57..38ebc91 100644 --- a/src/ecs.hpp +++ b/src/ecs.hpp @@ -27,7 +27,7 @@ CompGrBinds *ECS_GetGrBinds(EntityHandle entHandle); uint64_t ECS_GetGrBinds_BucketCount(); CompGrBinds *ECS_GetGrBinds(uint64_t bucketIndex, uint64_t &itemCount); -CompInstance &ECS_CreateInstance(EntityHandle entHandle); +CompInstance &ECS_CreateInstance(EntityHandle entHandle, EntityHandle entityTypeEntityHandle); CompInstance *ECS_GetInstance(EntityHandle entHandle); #endif /* PKE_ECS_HPP */ -- cgit v1.2.3