summaryrefslogtreecommitdiff
path: root/src/gui/popups/statuspopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-23 02:30:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-23 02:30:20 +0300
commit648c85816ca9398dd9c672d5d4230bef030e0274 (patch)
tree1d897dff70e183cb8c31f558426921be8dcf6ce7 /src/gui/popups/statuspopup.cpp
parent6336dabcb33ca6b4d417b352fa0b12651b6f4c57 (diff)
downloadmanaverse-648c85816ca9398dd9c672d5d4230bef030e0274.tar.gz
manaverse-648c85816ca9398dd9c672d5d4230bef030e0274.tar.bz2
manaverse-648c85816ca9398dd9c672d5d4230bef030e0274.tar.xz
manaverse-648c85816ca9398dd9c672d5d4230bef030e0274.zip
move "change camera mode" option into gamemodifiers.
Diffstat (limited to 'src/gui/popups/statuspopup.cpp')
-rw-r--r--src/gui/popups/statuspopup.cpp4
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);
}