mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 05:19:00 +00:00
commit
3eeb963df5
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());
|
||||
|
|
|
@ -1127,7 +1127,7 @@ CParticleObject::SaveParticle(uint8 *buffer, uint32 *length)
|
|||
|
||||
for ( CParticleObject *p = pCloseListHead; p != NULL; p = p->m_pNext )
|
||||
{
|
||||
#ifdef FIX_BUGS
|
||||
#if 0 // todo better
|
||||
*(CParticleObject*)buffer = *p;
|
||||
#else
|
||||
memcpy(buffer, p, sizeof(CParticleObject));
|
||||
|
@ -1137,7 +1137,7 @@ CParticleObject::SaveParticle(uint8 *buffer, uint32 *length)
|
|||
|
||||
for ( CParticleObject *p = pFarListHead; p != NULL; p = p->m_pNext )
|
||||
{
|
||||
#ifdef FIX_BUGS
|
||||
#if 0 // todo better
|
||||
*(CParticleObject*)buffer = *p;
|
||||
#else
|
||||
memcpy(buffer, p, sizeof(CParticleObject));
|
||||
|
|
Loading…
Reference in a new issue