Get rid of bitfields in CPool

# Conflicts:
#	src/core/templates.h
This commit is contained in:
Sergeanur
2021-01-19 21:32:55 +02:00
parent 3b52b683e3
commit c7c7eff918
3 changed files with 50 additions and 31 deletions

View File

@@ -111,7 +111,7 @@ CPools::CheckPoolsEmpty()
void
CPools::MakeSureSlotInObjectPoolIsEmpty(int32 slot)
{
if (ms_pObjectPool->IsFreeSlot(slot)) return;
if (ms_pObjectPool->GetIsFree(slot)) return;
CObject *object = ms_pObjectPool->GetSlot(slot);
if (object->ObjectCreatedBy == TEMP_OBJECT) {