From 624ddd306ebbd1cfdfd5bf85832ee969e15a619c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Oct 2014 18:38:46 +0300 Subject: Move JOB stat from net enum into attributes. --- src/gui/windows/chatwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/chatwindow.cpp') diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 7b497e747..559c87704 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -920,7 +920,7 @@ void ChatWindow::statChanged(const int id, if (!mShowBattleEvents || !config.getBoolValue("showJobExp")) return; - if (id != playerHandler->getJobLocation()) + if (id != Attributes::JOB) return; const std::pair exp = PlayerInfo::getStatExperience(id); -- cgit v1.2.3-70-g09d2