mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-04 14:09:47 +03:00
Revert "Fix new entity ID system (#39)"
This reverts commit ef9df3f9de.
This commit is contained in:
@@ -70,7 +70,6 @@ Entity::Entity(Level* pLevel)
|
||||
|
||||
Entity::~Entity()
|
||||
{
|
||||
releaseEntityId(m_EntityID);
|
||||
}
|
||||
|
||||
void Entity::setLevel(Level* pLvl)
|
||||
@@ -1083,8 +1082,6 @@ int Entity::allocateEntityId()
|
||||
while (s_EntityIDs.find(id) != s_EntityIDs.end())
|
||||
id++;
|
||||
|
||||
s_EntityIDs.insert(id);
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user