diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 17:59:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 17:59:49 +0100 |
commit | c54f5c4b4f9c28c99f41c505ce4df23511fc577f (patch) | |
tree | ab66c63890d2e32eae4aec8276a78fe842c4a983 /src/core/Pools.cpp | |
parent | Merge pull request #966 from Sergeanur/matrix (diff) | |
parent | Get rid of bitfields in CPool (diff) | |
download | re3-c54f5c4b4f9c28c99f41c505ce4df23511fc577f.tar re3-c54f5c4b4f9c28c99f41c505ce4df23511fc577f.tar.gz re3-c54f5c4b4f9c28c99f41c505ce4df23511fc577f.tar.bz2 re3-c54f5c4b4f9c28c99f41c505ce4df23511fc577f.tar.lz re3-c54f5c4b4f9c28c99f41c505ce4df23511fc577f.tar.xz re3-c54f5c4b4f9c28c99f41c505ce4df23511fc577f.tar.zst re3-c54f5c4b4f9c28c99f41c505ce4df23511fc577f.zip |
Diffstat (limited to 'src/core/Pools.cpp')
-rw-r--r-- | src/core/Pools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Pools.cpp b/src/core/Pools.cpp index d3801a2a..39cfb1d4 100644 --- a/src/core/Pools.cpp +++ b/src/core/Pools.cpp @@ -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) { |