aboutsummaryrefslogtreecommitdiffstats
path: root/src/render/Particle.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-09 16:06:13 +0300
committerSergeanur <s.anureev@yandex.ua>2020-05-09 16:06:13 +0300
commit28103775ba799133b252e423e3da62ed7b09f7b9 (patch)
tree02b9958d54e040fe20310990a9da5636fe0527db /src/render/Particle.cpp
parent1b599b2d35d44d3ced42fc5e8b271d6ccfd31edf (diff)
Place debug menu under ifdef
Diffstat (limited to 'src/render/Particle.cpp')
-rw-r--r--src/render/Particle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/Particle.cpp b/src/render/Particle.cpp
index c855c860..5995432b 100644
--- a/src/render/Particle.cpp
+++ b/src/render/Particle.cpp
@@ -222,10 +222,12 @@ int32 Randomizer;
int32 nParticleCreationInterval = 1;
float fParticleScaleLimit = 0.5f;
+#ifdef DEBUGMENU
SETTWEAKPATH("Particle");
TWEAKINT32(nParticleCreationInterval, 0, 5, 1);
TWEAKFLOAT(fParticleScaleLimit, 0.0f, 1.0f, 0.1f);
TWEAKFUNC(CParticle::ReloadConfig);
+#endif
void CParticle::ReloadConfig()
{