summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
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 a49545df3..08480cdd4 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -128,7 +128,7 @@ StatusWindow::StatusWindow() :
mXpBar->setColor(getThemeColor(Theme::XP_BAR),
getThemeColor(Theme::XP_BAR_OUTLINE));
- const bool magicBar = Net::getGameHandler()->canUseMagicBar();
+ const bool magicBar = gameHandler->canUseMagicBar();
const int job = Net::getPlayerHandler()->getJobLocation()
&& serverConfig.getValueBool("showJob", true);