summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-07 02:37:07 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-07 02:37:07 +0300
commitcdee031aeb40d8351526de1428dc888f5fb3a49c (patch)
treee2e003b2040cba080f4f8f3a548e76f23fe00f04
parent041a366637449587148dbc263e80340ee5995893 (diff)
downloadmv-cdee031aeb40d8351526de1428dc888f5fb3a49c.tar.gz
mv-cdee031aeb40d8351526de1428dc888f5fb3a49c.tar.bz2
mv-cdee031aeb40d8351526de1428dc888f5fb3a49c.tar.xz
mv-cdee031aeb40d8351526de1428dc888f5fb3a49c.zip
Enable job support by default.
-rw-r--r--src/gui/ministatuswindow.cpp4
-rw-r--r--src/gui/statuswindow.cpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/ministatuswindow.cpp b/src/gui/ministatuswindow.cpp
index 70ebe7e01..4cdf64f33 100644
--- a/src/gui/ministatuswindow.cpp
+++ b/src/gui/ministatuswindow.cpp
@@ -84,7 +84,7 @@ MiniStatusWindow::MiniStatusWindow() :
StatusWindow::updateMPBar(mMpBar);
const int job = Net::getPlayerHandler()->getJobLocation()
- && serverConfig.getValueBool("showJob", false);
+ && serverConfig.getValueBool("showJob", true);
StatusWindow::updateXPBar(mXpBar);
@@ -438,6 +438,8 @@ void MiniStatusWindow::loadBars()
mArrowsBar->setVisible(false);
if (mStatusBar)
mStatusBar->setVisible(false);
+ if (mJobBar)
+ mJobBar->setVisible(false);
return;
}
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index 63c2d9331..019d136d4 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -190,7 +190,7 @@ StatusWindow::StatusWindow() :
const bool magicBar = Net::getGameHandler()->canUseMagicBar();
const int job = Net::getPlayerHandler()->getJobLocation()
- && serverConfig.getValueBool("showJob", false);
+ && serverConfig.getValueBool("showJob", true);
if (magicBar)
{