summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-23 00:39:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-23 00:39:12 +0300
commit6336dabcb33ca6b4d417b352fa0b12651b6f4c57 (patch)
treea84879f46ee80d2f98d0418cbcbbb81e28da8e76 /src/actionmanager.cpp
parent1995e723df5d5aef32b289c0122493ee6fe18b0e (diff)
downloadmv-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.tar.gz
mv-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.tar.bz2
mv-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.tar.xz
mv-6336dabcb33ca6b4d417b352fa0b12651b6f4c57.zip
move "change away type" option into gamemodifiers.
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp3
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();