mirror of
https://github.com/halpz/re3.git
synced 2025-07-15 09:18:12 +00:00
Revert to memcpy
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user