summaryrefslogtreecommitdiff
path: root/src/ecs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ecs.cpp')
-rw-r--r--src/ecs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ecs.cpp b/src/ecs.cpp
index b4391dc..6fcbeb4 100644
--- a/src/ecs.cpp
+++ b/src/ecs.cpp
@@ -634,7 +634,7 @@ pke_component_event *ECS_CreateEv(Entity_Base *entity, pk_uuid uuid) {
}
pke_component_event *ECS_GetEv(PkeEventHandle handle) {
- if (handle == PkeEventMgrHandle_MAX) return nullptr;
+ if (handle == PkeEventHandle_MAX) return nullptr;
assert(pk_bkt_arr_handle_validate(&ecs.bc.ev_mgrs, handle) == PK_BKT_ARR_HANDLE_VALIDATION_VALID);
auto *ev_mgr = &ecs.bc.ev_mgrs[handle];