From 238642d6a99d3f764529a339d0802d3e3909f391 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 Aug 2017 02:12:41 +0300 Subject: Use strong typed enum ParticlePhysics. --- src/defaults.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/defaults.cpp') 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); -- cgit v1.2.3-70-g09d2