summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-21 13:00:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-21 13:00:00 +0300
commitcfffcc941898c4163e1bd62b8e514d3535511666 (patch)
treeb9889c95f521b81edaec32ac8b45fe859154ca3d /src/gui
parentb02b4ce0b656a93fbcaa927b0ba289edfec6e22c (diff)
downloadmv-cfffcc941898c4163e1bd62b8e514d3535511666.tar.gz
mv-cfffcc941898c4163e1bd62b8e514d3535511666.tar.bz2
mv-cfffcc941898c4163e1bd62b8e514d3535511666.tar.xz
mv-cfffcc941898c4163e1bd62b8e514d3535511666.zip
move "change move to target type" 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 06d822f2c..9c5869ad9 100644
--- a/src/gui/popups/statuspopup.cpp
+++ b/src/gui/popups/statuspopup.cpp
@@ -144,7 +144,7 @@ void StatusPopup::updateLabels() const
InputAction::INVERT_DIRECTION);
setLabelText(1, modifiers->getCrazyMoveTypeString(),
InputAction::CHANGE_CRAZY_MOVES_TYPE);
- setLabelText(2, player_node->getMoveToTargetTypeString(),
+ setLabelText(2, modifiers->getMoveToTargetTypeString(),
InputAction::CHANGE_MOVE_TO_TARGET);
setLabelText(3, player_node->getFollowModeString(),
InputAction::CHANGE_FOLLOW_MODE);
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index a726217e3..c035f9759 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -644,7 +644,7 @@ void StatusWindow::updateStatusBar(ProgressBar *const bar,
bar->setText(translateLetter2(modifiers->getMoveTypeString())
.append(translateLetter2(modifiers->getCrazyMoveTypeString()))
- .append(translateLetter2(player_node->getMoveToTargetTypeString()))
+ .append(translateLetter2(modifiers->getMoveToTargetTypeString()))
.append(translateLetter2(player_node->getFollowModeString()))
.append(" ").append(translateLetter2(
player_node->getAttackWeaponTypeString()))