summaryrefslogtreecommitdiffstats
path: root/src/render/ParticleMgr.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-15 23:12:27 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-15 23:12:27 +0100
commit96fdbac69a650db2884a84776e9b8cb5261b38a1 (patch)
tree1191ca586eedff89c3461a9c40e97d8253dc65cf /src/render/ParticleMgr.cpp
parentMerge branch 'lcs' of github.com:Fire-Head/re3 into lcs (diff)
downloadre3-96fdbac69a650db2884a84776e9b8cb5261b38a1.tar
re3-96fdbac69a650db2884a84776e9b8cb5261b38a1.tar.gz
re3-96fdbac69a650db2884a84776e9b8cb5261b38a1.tar.bz2
re3-96fdbac69a650db2884a84776e9b8cb5261b38a1.tar.lz
re3-96fdbac69a650db2884a84776e9b8cb5261b38a1.tar.xz
re3-96fdbac69a650db2884a84776e9b8cb5261b38a1.tar.zst
re3-96fdbac69a650db2884a84776e9b8cb5261b38a1.zip
Diffstat (limited to '')
-rw-r--r--src/render/ParticleMgr.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/render/ParticleMgr.cpp b/src/render/ParticleMgr.cpp
index c802067d..263c4ae1 100644
--- a/src/render/ParticleMgr.cpp
+++ b/src/render/ParticleMgr.cpp
@@ -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];