summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-14 19:10:55 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-14 19:10:55 +0300
commit8660f14a94af91d42d3c8aae1b370f47cad9720b (patch)
tree777b5782c3c6e97c575c7ca9a54d2ef55d2d07b1 /src/gui/windows/statuswindow.cpp
parent1d3e44a5d4e50d18e614a888c6cd3b8cccdf7da4 (diff)
downloadmv-8660f14a94af91d42d3c8aae1b370f47cad9720b.tar.gz
mv-8660f14a94af91d42d3c8aae1b370f47cad9720b.tar.bz2
mv-8660f14a94af91d42d3c8aae1b370f47cad9720b.tar.xz
mv-8660f14a94af91d42d3c8aae1b370f47cad9720b.zip
Fix some pointer to bool conversions.
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-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 3dc7110b9..520bdefd0 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)
+ if (localPlayer != nullptr)
return;
const int groupId = localPlayer->getGroupId();