summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-14 23:33:10 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-14 23:33:29 +0300
commit1a0ebe719df25ccc4001de92a59f1ae48479ad3e (patch)
tree240fcfda78fa0f41a372118bd0d110557c2484f2
parent564e76e6da4544109164b1437e9ad242dfca0e13 (diff)
downloadmv-1a0ebe719df25ccc4001de92a59f1ae48479ad3e.tar.gz
mv-1a0ebe719df25ccc4001de92a59f1ae48479ad3e.tar.bz2
mv-1a0ebe719df25ccc4001de92a59f1ae48479ad3e.tar.xz
mv-1a0ebe719df25ccc4001de92a59f1ae48479ad3e.zip
Fix type in previous commit.
-rw-r--r--src/gui/windows/statuswindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 520bdefd0..cfff8e62f 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -260,7 +260,7 @@ void StatusWindow::addTabBasic(const std::string &name)
void StatusWindow::updateLevelLabel()
{
- if (localPlayer != nullptr)
+ if (localPlayer == nullptr)
return;
const int groupId = localPlayer->getGroupId();