mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-06 02:55:55 +00:00
rem null checks
This commit is contained in:
parent
d8f352ae7c
commit
96fdbac69a
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue