summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 10:31:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 10:31:03 +0300
commit9cdbed6c562f95e24e02f49630386f8b18884a02 (patch)
tree4dad8316607387c80b66cf42b2a806ffa1a3afed /src/gui/windows/statuswindow.cpp
parent3a7313c027407e3b35360a021c72fe78f181d81d (diff)
downloadmv-9cdbed6c562f95e24e02f49630386f8b18884a02.tar.gz
mv-9cdbed6c562f95e24e02f49630386f8b18884a02.tar.bz2
mv-9cdbed6c562f95e24e02f49630386f8b18884a02.tar.xz
mv-9cdbed6c562f95e24e02f49630386f8b18884a02.zip
Remove getter for gameHandler.
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);