1
0
mirror of https://github.com/td512/re3.git synced 2026-03-01 22:17:27 +00:00

Get rid of bitfields in CPool

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

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) {