diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-23 00:39:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-23 00:39:12 +0300 |
commit | 6336dabcb33ca6b4d417b352fa0b12651b6f4c57 (patch) | |
tree | a84879f46ee80d2f98d0418cbcbbb81e28da8e76 /src/actionmanager.cpp | |
parent | 1995e723df5d5aef32b289c0122493ee6fe18b0e (diff) | |
download | plus-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.tar.gz plus-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.tar.bz2 plus-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.tar.xz plus-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.zip |
move "change away type" option into gamemodifiers.
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r-- | src/actionmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index 9aed163d6..08e88c0fc 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -579,9 +579,10 @@ impHandler0(changeAudio) impHandler0(away) { + if (modifiers) + modifiers->changeAwayMode(); if (player_node) { - player_node->changeAwayMode(); player_node->updateStatus(); if (Game::instance()) Game::instance()->setValidSpeed(); |