summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamemodifiers.cpp')
-rw-r--r--src/gamemodifiers.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gamemodifiers.cpp b/src/gamemodifiers.cpp
index 94dea8ecf..228dd66f3 100644
--- a/src/gamemodifiers.cpp
+++ b/src/gamemodifiers.cpp
@@ -76,7 +76,7 @@
&GameModifiers::get##name1##String, 0, true, forward); \
}
-GameModifiers::GameModifiers()
+void GameModifiers::init()
{
settings.crazyMoveType = config.getIntValue("crazyMoveType");
settings.moveToTargetType = config.getIntValue("moveToTargetType");
@@ -90,10 +90,7 @@ GameModifiers::GameModifiers()
settings.imitationMode = config.getIntValue("imitationMode");
settings.disableGameModifiers = config.getBoolValue(
"disableGameModifiers");
-}
-
-GameModifiers::~GameModifiers()
-{
+// UpdateStatusListener::distributeEvent();
}
void GameModifiers::changeMode(unsigned *restrict const var,