diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-23 02:30:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-23 02:30:20 +0300 |
commit | 648c85816ca9398dd9c672d5d4230bef030e0274 (patch) | |
tree | 1d897dff70e183cb8c31f558426921be8dcf6ce7 /src/gui/popups/statuspopup.cpp | |
parent | 6336dabcb33ca6b4d417b352fa0b12651b6f4c57 (diff) | |
download | manaplus-648c85816ca9398dd9c672d5d4230bef030e0274.tar.gz manaplus-648c85816ca9398dd9c672d5d4230bef030e0274.tar.bz2 manaplus-648c85816ca9398dd9c672d5d4230bef030e0274.tar.xz manaplus-648c85816ca9398dd9c672d5d4230bef030e0274.zip |
move "change camera mode" option into gamemodifiers.
Diffstat (limited to 'src/gui/popups/statuspopup.cpp')
-rw-r--r-- | src/gui/popups/statuspopup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/statuspopup.cpp b/src/gui/popups/statuspopup.cpp index 776845bfa..16ea93e42 100644 --- a/src/gui/popups/statuspopup.cpp +++ b/src/gui/popups/statuspopup.cpp @@ -137,7 +137,7 @@ void StatusPopup::setLabelText(const int num, void StatusPopup::updateLabels() const { - if (!player_node || !viewport || !modifiers) + if (!modifiers) return; setLabelText(0, modifiers->getMoveTypeString(), @@ -168,6 +168,6 @@ void StatusPopup::updateLabels() const InputAction::CHANGE_IMITATION_MODE); setLabelText(13, modifiers->getAwayModeString(), InputAction::AWAY); - setLabelText(14, LocalPlayer::getCameraModeString(), + setLabelText(14, modifiers->getCameraModeString(), InputAction::CAMERA); } |