summaryrefslogtreecommitdiffstats
path: root/src/core/Pools.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-19 20:32:55 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-20 18:24:08 +0100
commitc7c7eff9180afc3e0271bdbdad28297fcd374694 (patch)
tree5e6f057ab13d4d67b0caa27da171d5bbcd774020 /src/core/Pools.cpp
parentSync matrix with master (diff)
downloadre3-c7c7eff9180afc3e0271bdbdad28297fcd374694.tar
re3-c7c7eff9180afc3e0271bdbdad28297fcd374694.tar.gz
re3-c7c7eff9180afc3e0271bdbdad28297fcd374694.tar.bz2
re3-c7c7eff9180afc3e0271bdbdad28297fcd374694.tar.lz
re3-c7c7eff9180afc3e0271bdbdad28297fcd374694.tar.xz
re3-c7c7eff9180afc3e0271bdbdad28297fcd374694.tar.zst
re3-c7c7eff9180afc3e0271bdbdad28297fcd374694.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 ee60f316..bd246b71 100644
--- a/src/core/Pools.cpp
+++ b/src/core/Pools.cpp
@@ -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) {