From a0b3117ee4c39ef546257746996411433476e8b5 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Wed, 13 May 2020 02:01:42 +0200 Subject: Revert to memcpy --- src/core/Pools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/Pools.cpp') 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()); -- cgit v1.2.3