rem null checks

This commit is contained in:
Fire-Head 2021-01-16 01:12:27 +03:00
parent d8f352ae7c
commit 96fdbac69a
1 changed files with 2 additions and 4 deletions

View File

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