Some small fixes
This commit is contained in:
parent
f964d7bf85
commit
3719cdaee0
2 changed files with 3 additions and 1 deletions
|
|
@ -56,6 +56,7 @@ struct IDManager
|
|||
*/
|
||||
void releaseID(EntityID id) nothrow @nogc
|
||||
{
|
||||
optimize();
|
||||
Data* data = &m_ids_array[id.id];
|
||||
if (data.counter != id.counter)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue