diff --git a/TODO b/TODO index 688ecaa0d..cb6dbaf6a 100644 --- a/TODO +++ b/TODO @@ -12,7 +12,6 @@ * hashed string: add implicit check on construction for uniqueness (optional) * destroy overload that accepts a couple of iterators (see create) * allow for built-in parallel each if possible -* travis + windows is now available, try it * events on replace, so that one can track updated components? indagate impact * tags revenge: if it's possible, reintroduce them but without a link to entities (see #169 for more details) * empty components model allows for shared components and prefabs unity-like diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index 35c254c13..9da723f28 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -547,7 +547,7 @@ public: auto &pdata = pools[pos-1]; if(pdata.pool && pdata.pool->has(entity)) { - pools[pos-1].destruction.publish(*this, entity); + pdata.destruction.publish(*this, entity); pdata.pool->destroy(entity); } };