Get rid of bitfields in CPool

This commit is contained in:
Sergeanur committed 2021-01-19 21:32:55 +02:00
1 parent 25d3066eae
commit a9b8d30ce0
3 files changed
+50 -31

No files matched your search

+1 -1
View File
@@ -102,7 +102,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) {