summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-21 00:18:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-21 00:18:41 +0300
commitb02b4ce0b656a93fbcaa927b0ba289edfec6e22c (patch)
treea31a6f99778d0cf0b45689584939bd8c391627ae /src/gui
parent744b9d6689b67779a1d17c6d3de7cd016ca1033b (diff)
downloadmanaplus-b02b4ce0b656a93fbcaa927b0ba289edfec6e22c.tar.gz
manaplus-b02b4ce0b656a93fbcaa927b0ba289edfec6e22c.tar.bz2
manaplus-b02b4ce0b656a93fbcaa927b0ba289edfec6e22c.tar.xz
manaplus-b02b4ce0b656a93fbcaa927b0ba289edfec6e22c.zip
move "change crazy move" option into gamemodifiers.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/statuspopup.cpp2
-rw-r--r--src/gui/windows/statuswindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/statuspopup.cpp b/src/gui/popups/statuspopup.cpp
index 23c0f313f..06d822f2c 100644
--- a/src/gui/popups/statuspopup.cpp
+++ b/src/gui/popups/statuspopup.cpp
@@ -142,7 +142,7 @@ void StatusPopup::updateLabels() const
setLabelText(0, modifiers->getMoveTypeString(),
InputAction::INVERT_DIRECTION);
- setLabelText(1, player_node->getCrazyMoveTypeString(),
+ setLabelText(1, modifiers->getCrazyMoveTypeString(),
InputAction::CHANGE_CRAZY_MOVES_TYPE);
setLabelText(2, player_node->getMoveToTargetTypeString(),
InputAction::CHANGE_MOVE_TO_TARGET);
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 470028024..a726217e3 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -643,7 +643,7 @@ void StatusWindow::updateStatusBar(ProgressBar *const bar,
return;
bar->setText(translateLetter2(modifiers->getMoveTypeString())
- .append(translateLetter2(player_node->getCrazyMoveTypeString()))
+ .append(translateLetter2(modifiers->getCrazyMoveTypeString()))
.append(translateLetter2(player_node->getMoveToTargetTypeString()))
.append(translateLetter2(player_node->getFollowModeString()))
.append(" ").append(translateLetter2(