summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-22 02:12:41 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-22 02:12:41 +0300
commit238642d6a99d3f764529a339d0802d3e3909f391 (patch)
treef115374ffdf930f530bfc916065823032fc303cb /src/defaults.cpp
parentad56ac4bda60beddf33640df346801af1ece9ccf (diff)
downloadmv-238642d6a99d3f764529a339d0802d3e3909f391.tar.gz
mv-238642d6a99d3f764529a339d0802d3e3909f391.tar.bz2
mv-238642d6a99d3f764529a339d0802d3e3909f391.tar.xz
mv-238642d6a99d3f764529a339d0802d3e3909f391.zip
Use strong typed enum ParticlePhysics.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 8cdc6bf78..03e78bacb 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -36,6 +36,8 @@
#include "enums/input/inputaction.h"
+#include "enums/particle/particlephysics.h"
+
#include "render/graphics.h"
#include "const/net/net.h"
@@ -120,7 +122,7 @@ DefaultsData* getConfigDefaults()
AddDEF("afkMessage", "I am away from keyboard.");
AddDEF("afkFormat", 0);
AddDEF("particleMaxCount", 3000);
- AddDEF("particleFastPhysics", 1);
+ AddDEF("particleFastPhysics", CAST_S32(ParticlePhysics::Normal));
AddDEF("particleEmitterSkip", 1);
AddDEF("particleeffects", true);
AddDEF("mapparticleeffects", true);