mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-17 07:24:08 +00:00
Revert to memcpy
This commit is contained in:
parent
c2ac6b3759
commit
a0b3117ee4
2 changed files with 3 additions and 3 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue