Browse Source

minor changes

Michele Caini 7 years ago
parent
commit
0446faeb6f
2 changed files with 1 additions and 2 deletions
  1. 0 1
      TODO
  2. 1 1
      src/entt/entity/registry.hpp

+ 0 - 1
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

+ 1 - 1
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);
             }
         };