summaryrefslogtreecommitdiffstats
path: root/src/core/Pools.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-20 17:59:49 +0100
committerGitHub <noreply@github.com>2021-01-20 17:59:49 +0100
commitc54f5c4b4f9c28c99f41c505ce4df23511fc577f (patch)
treeab66c63890d2e32eae4aec8276a78fe842c4a983 /src/core/Pools.cpp
parentMerge pull request #966 from Sergeanur/matrix (diff)
parentGet rid of bitfields in CPool (diff)
downloadre3-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.cpp2
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) {