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/windows/statuswindow.cpp | |
parent | 6336dabcb33ca6b4d417b352fa0b12651b6f4c57 (diff) | |
download | plus-648c85816ca9398dd9c672d5d4230bef030e0274.tar.gz plus-648c85816ca9398dd9c672d5d4230bef030e0274.tar.bz2 plus-648c85816ca9398dd9c672d5d4230bef030e0274.tar.xz plus-648c85816ca9398dd9c672d5d4230bef030e0274.zip |
move "change camera mode" option into gamemodifiers.
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r-- | src/gui/windows/statuswindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp index c4b645424..cdbf33fe8 100644 --- a/src/gui/windows/statuswindow.cpp +++ b/src/gui/windows/statuswindow.cpp @@ -640,7 +640,7 @@ std::string StatusWindow::translateLetter2(const std::string &letters) void StatusWindow::updateStatusBar(ProgressBar *const bar, const bool percent A_UNUSED) const { - if (!player_node || !viewport || !modifiers) + if (!modifiers) return; bar->setText(translateLetter2(modifiers->getMoveTypeString()) @@ -659,7 +659,7 @@ void StatusWindow::updateStatusBar(ProgressBar *const bar, modifiers->getMapDrawTypeString())) .append(" ").append(translateLetter2( modifiers->getImitationModeString())) - .append(translateLetter2(LocalPlayer::getCameraModeString())) + .append(translateLetter2(modifiers->getCameraModeString())) .append(translateLetter2(modifiers->getAwayModeString()))); bar->setProgress(50); |