summaryrefslogtreecommitdiffstats
path: root/src/core/Pools.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-05-13 02:01:42 +0200
committerFilip Gawin <filip.gawin@zoho.com>2020-05-13 02:01:42 +0200
commita0b3117ee4c39ef546257746996411433476e8b5 (patch)
tree0f6b1bd18194f2ae3b44eb2e5fb2914ee76f5aec /src/core/Pools.cpp
parentFix linux warnings (diff)
downloadre3-a0b3117ee4c39ef546257746996411433476e8b5.tar
re3-a0b3117ee4c39ef546257746996411433476e8b5.tar.gz
re3-a0b3117ee4c39ef546257746996411433476e8b5.tar.bz2
re3-a0b3117ee4c39ef546257746996411433476e8b5.tar.lz
re3-a0b3117ee4c39ef546257746996411433476e8b5.tar.xz
re3-a0b3117ee4c39ef546257746996411433476e8b5.tar.zst
re3-a0b3117ee4c39ef546257746996411433476e8b5.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 b361c36f..58605f0a 100644
--- a/src/core/Pools.cpp
+++ b/src/core/Pools.cpp
@@ -90,7 +90,7 @@ CPools::MakeSureSlotInObjectPoolIsEmpty(int32 slot)
// relocate to another slot??
CObject *newObject = new CObject(object->GetModelIndex(), false);
CWorld::Remove(object);
-#ifdef FIX_BUGS
+#if 0 // todo better
*newObject = *object;
#else
memcpy(newObject, object, ms_pObjectPool->GetMaxEntrySize());