From cdee031aeb40d8351526de1428dc888f5fb3a49c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Feb 2013 02:37:07 +0300 Subject: Enable job support by default. --- src/gui/ministatuswindow.cpp | 4 +++- src/gui/statuswindow.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gui') 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) { -- cgit v1.2.3-70-g09d2