diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2020-05-13 02:01:42 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2020-05-13 02:01:42 +0200 |
commit | a0b3117ee4c39ef546257746996411433476e8b5 (patch) | |
tree | 0f6b1bd18194f2ae3b44eb2e5fb2914ee76f5aec /src/objects/ParticleObject.cpp | |
parent | Fix linux warnings (diff) | |
download | re3-a0b3117ee4c39ef546257746996411433476e8b5.tar re3-a0b3117ee4c39ef546257746996411433476e8b5.tar.gz re3-a0b3117ee4c39ef546257746996411433476e8b5.tar.bz2 re3-a0b3117ee4c39ef546257746996411433476e8b5.tar.lz re3-a0b3117ee4c39ef546257746996411433476e8b5.tar.xz re3-a0b3117ee4c39ef546257746996411433476e8b5.tar.zst re3-a0b3117ee4c39ef546257746996411433476e8b5.zip |
Diffstat (limited to 'src/objects/ParticleObject.cpp')
-rw-r--r-- | src/objects/ParticleObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objects/ParticleObject.cpp b/src/objects/ParticleObject.cpp index 2fbe6195..a8afaf6c 100644 --- a/src/objects/ParticleObject.cpp +++ b/src/objects/ParticleObject.cpp @@ -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)); |