-IDManager reserve EntityID(0) as empty

-fixed bug with events called on destroyed entities (crash)
-don't call event on system for unsupported entity
-added "entity_id" property to EntitiesData
This commit is contained in:
Mergul 2020-03-06 10:12:52 +01:00
parent 87e9a31d7f
commit 5399b584dd
3 changed files with 44 additions and 10 deletions

View file

@ -515,6 +515,14 @@ struct ExternalUpdateCallTest
}
}
version(unittest)
{
void main()
{
}
}
else:
extern(C) int main()
{