summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2019-11-26 20:21:18 +0100
committerGitHub <noreply@github.com>2019-11-26 20:21:18 +0100
commite35019cb1ba171db6d140a0905a7159d419e670f (patch)
treeba9e97db70363916e72b630c6fd5b9c927336476 /src/render
parentMerge pull request #272 from erorcun/erorcun (diff)
parentCCivilianPed done & restore peds running to phone (diff)
downloadre3-e35019cb1ba171db6d140a0905a7159d419e670f.tar
re3-e35019cb1ba171db6d140a0905a7159d419e670f.tar.gz
re3-e35019cb1ba171db6d140a0905a7159d419e670f.tar.bz2
re3-e35019cb1ba171db6d140a0905a7159d419e670f.tar.lz
re3-e35019cb1ba171db6d140a0905a7159d419e670f.tar.xz
re3-e35019cb1ba171db6d140a0905a7159d419e670f.tar.zst
re3-e35019cb1ba171db6d140a0905a7159d419e670f.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Particle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/Particle.cpp b/src/render/Particle.cpp
index 56ac9512..6956a887 100644
--- a/src/render/Particle.cpp
+++ b/src/render/Particle.cpp
@@ -12,7 +12,7 @@
#include "ParticleObject.h"
#include "Particle.h"
-#ifndef MASTER
+#ifdef TOGGLEABLE_BETA_FEATURES
bool CParticle::bEnableBannedParticles = false;
#endif
@@ -772,7 +772,7 @@ CParticle *CParticle::AddParticle(tParticleType type, CVector const &vecPos, CVe
{
if ( CTimer::GetIsPaused() )
return NULL;
-#ifndef MASTER
+#ifdef TOGGLEABLE_BETA_FEATURES
if(!bEnableBannedParticles)
#endif
if ( ( type == PARTICLE_ENGINE_SMOKE
@@ -1462,7 +1462,7 @@ void CParticle::Render()
tParticleType type = psystem->m_Type;
-#ifndef MASTER
+#ifdef TOGGLEABLE_BETA_FEATURES
if (!bEnableBannedParticles)
#endif
if ( type == PARTICLE_ENGINE_SMOKE