mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-08 03: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
|
@ -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…
Add table
Add a link
Reference in a new issue