1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-06 05:55:55 +00:00

rem null checks

This commit is contained in:
Fire-Head 2021-01-16 01:12:27 +03:00
parent d8f352ae7c
commit 96fdbac69a

View file

@ -20,7 +20,6 @@ cParticleSystemMgr::cParticleSystemMgr()
cParticleSystemMgr::~cParticleSystemMgr() cParticleSystemMgr::~cParticleSystemMgr()
{ {
#ifdef FIX_BUGS #ifdef FIX_BUGS
if ( m_aParticles )
delete [] m_aParticles; delete [] m_aParticles;
#endif #endif
} }
@ -37,7 +36,6 @@ void cParticleSystemMgr::Initialise()
void cParticleSystemMgr::LoadParticleData() void cParticleSystemMgr::LoadParticleData()
{ {
#ifdef FIX_BUGS #ifdef FIX_BUGS
if ( m_aParticles )
delete [] m_aParticles; delete [] m_aParticles;
#endif #endif
m_aParticles = new tParticleSystemData[MAX_PARTICLES]; m_aParticles = new tParticleSystemData[MAX_PARTICLES];