minor changes

This commit is contained in:
Michele Caini
2019-02-25 23:30:26 +01:00
parent 0417ea23c3
commit 0446faeb6f
2 changed files with 1 additions and 2 deletions

1
TODO
View File

@@ -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

View File

@@ -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);
}
};