mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-24 22:26:04 +02:00
rem null checks
This commit is contained in:
@@ -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];
|
||||||
|
Reference in New Issue
Block a user