From cfffcc941898c4163e1bd62b8e514d3535511666 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 21 Jul 2014 13:00:00 +0300 Subject: move "change move to target type" option into gamemodifiers. --- src/gui/popups/statuspopup.cpp | 2 +- src/gui/windows/statuswindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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())) -- cgit v1.2.3-70-g09d2