summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-20 20:58:31 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-21 00:18:17 +0300
commit744b9d6689b67779a1d17c6d3de7cd016ca1033b (patch)
tree8c7f235ec6ffd1f00bd6865a355be3f731b30395 /src/gui/windows/statuswindow.cpp
parentc42d25a77f5bd7bcd04636abded20452a753fa6d (diff)
downloadmanaplus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.tar.gz
manaplus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.tar.bz2
manaplus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.tar.xz
manaplus-744b9d6689b67779a1d17c6d3de7cd016ca1033b.zip
move "change move" option into gamemodifiers.
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r--src/gui/windows/statuswindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 029bfff1a..470028024 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -24,6 +24,7 @@
#include "configuration.h"
#include "equipment.h"
+#include "gamemodifiers.h"
#include "inventory.h"
#include "item.h"
#include "units.h"
@@ -641,7 +642,7 @@ void StatusWindow::updateStatusBar(ProgressBar *const bar,
if (!player_node || !viewport)
return;
- bar->setText(translateLetter2(player_node->getMoveTypeString())
+ bar->setText(translateLetter2(modifiers->getMoveTypeString())
.append(translateLetter2(player_node->getCrazyMoveTypeString()))
.append(translateLetter2(player_node->getMoveToTargetTypeString()))
.append(translateLetter2(player_node->getFollowModeString()))