]> git.localhorst.tv Git - blank.git/blobdiff - src/world/Entity.cpp
give unique IDs to entities
[blank.git] / src / world / Entity.cpp
index f116153e640a467eec61b434860e118e1369e150..b9096031a3b2dd94558f9cfffcba1d4eff0cf5c2 100644 (file)
@@ -16,6 +16,7 @@ namespace blank {
 
 Entity::Entity() noexcept
 : model()
+, id(-1)
 , name("anonymous")
 , bounds()
 , velocity(0, 0, 0)