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-19 20:32:55 +0100
commita9b8d30ce0e4e40dc5b5410c85bd0987548c6772 (patch)
tree7f4a5a054d13b424c5bd5ea28a648e916bd5f900 /src/core/Pools.cpp
parentfix RWLIBS build without GTA_PS2_STUFF (diff)
downloadre3-a9b8d30ce0e4e40dc5b5410c85bd0987548c6772.tar
re3-a9b8d30ce0e4e40dc5b5410c85bd0987548c6772.tar.gz
re3-a9b8d30ce0e4e40dc5b5410c85bd0987548c6772.tar.bz2
re3-a9b8d30ce0e4e40dc5b5410c85bd0987548c6772.tar.lz
re3-a9b8d30ce0e4e40dc5b5410c85bd0987548c6772.tar.xz
re3-a9b8d30ce0e4e40dc5b5410c85bd0987548c6772.tar.zst
re3-a9b8d30ce0e4e40dc5b5410c85bd0987548c6772.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) {