summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-22 00:24:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-22 00:24:58 +0300
commit57e10676912d5506ff3cab9edbb77335828d597c (patch)
tree634144b0d290403c2a157148bab2b79284da50cf /src/gui
parent90bfc776dc4975c523c4c35fb0778cd9b77dc164 (diff)
downloadplus-57e10676912d5506ff3cab9edbb77335828d597c.tar.gz
plus-57e10676912d5506ff3cab9edbb77335828d597c.tar.bz2
plus-57e10676912d5506ff3cab9edbb77335828d597c.tar.xz
plus-57e10676912d5506ff3cab9edbb77335828d597c.zip
move "change imitation mode" 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 8536e25d8..69aec1f8a 100644
--- a/src/gui/popups/statuspopup.cpp
+++ b/src/gui/popups/statuspopup.cpp
@@ -164,7 +164,7 @@ void StatusPopup::updateLabels() const
InputAction::SWITCH_PVP_ATTACK);
setLabelText(11, player_node->getGameModifiersString(),
InputAction::DISABLE_GAME_MODIFIERS);
- setLabelText(12, player_node->getImitationModeString(),
+ setLabelText(12, modifiers->getImitationModeString(),
InputAction::CHANGE_IMITATION_MODE);
setLabelText(13, player_node->getAwayModeString(),
InputAction::AWAY);
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index aee371f9e..b2d2c2ff8 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -657,7 +657,7 @@ void StatusWindow::updateStatusBar(ProgressBar *const bar,
.append(" ").append(translateLetter2(
LocalPlayer::getMapDrawTypeString()))
.append(" ").append(translateLetter2(
- player_node->getImitationModeString()))
+ modifiers->getImitationModeString()))
.append(translateLetter2(LocalPlayer::getCameraModeString()))
.append(translateLetter2(player_node->getAwayModeString())));