summaryrefslogtreecommitdiff
path: root/src/gamemodifiers.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-29 22:34:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-29 22:34:23 +0300
commit9913b4b481ddcaf0fa8499f3554c85bb588be7f0 (patch)
tree624ce6b5aa9ea89a462a9484bd350aee4675c3aa /src/gamemodifiers.cpp
parentd425193e392ee14695faa75d7f6d7a7fd3ea4dd2 (diff)
downloadplus-9913b4b481ddcaf0fa8499f3554c85bb588be7f0.tar.gz
plus-9913b4b481ddcaf0fa8499f3554c85bb588be7f0.tar.bz2
plus-9913b4b481ddcaf0fa8499f3554c85bb588be7f0.tar.xz
plus-9913b4b481ddcaf0fa8499f3554c85bb588be7f0.zip
Fix yellow bar settings loading.
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,