From 241a0c0906f75555218a04b99259b51b0c0c25a4 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Thu, 6 Mar 2025 16:13:57 +0100 Subject: [PATCH] fix destruction even and updated to contact4 --- src/solanaceae/object_store/meta_components_file.hpp | 4 ++-- src/solanaceae/object_store/object_store.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/solanaceae/object_store/meta_components_file.hpp b/src/solanaceae/object_store/meta_components_file.hpp index 79114c1..03d19a7 100644 --- a/src/solanaceae/object_store/meta_components_file.hpp +++ b/src/solanaceae/object_store/meta_components_file.hpp @@ -10,7 +10,7 @@ #include // fwd enum (obj cant depend on Contact3 -enum class Contact3 : uint32_t; +enum class Contact4 : uint32_t; namespace ObjectStore::Components { @@ -38,7 +38,7 @@ namespace ObjectStore::Components { bool have_all {false}; BitSet have; }; - entt::dense_map others; + entt::dense_map others; }; diff --git a/src/solanaceae/object_store/object_store.cpp b/src/solanaceae/object_store/object_store.cpp index 9316074..7b968f7 100644 --- a/src/solanaceae/object_store/object_store.cpp +++ b/src/solanaceae/object_store/object_store.cpp @@ -126,7 +126,7 @@ void ObjectStore2::throwEventDestroy(const Object o) { std::cout << "OS debug: event destroy " << entt::to_integral(o) << "\n"; dispatch( ObjectStore_Event::object_destroy, - ObjectStore::Events::ObjectUpdate{ + ObjectStore::Events::ObjectDestory{ ObjectHandle{_reg, o} } );