diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-01 18:38:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-01 19:28:09 +0300 |
commit | 624ddd306ebbd1cfdfd5bf85832ee969e15a619c (patch) | |
tree | d36e74e62836de01727fc0a440f3a70cabc91acd /src/gui/windows/chatwindow.cpp | |
parent | 1d6c226f2aae2410f9785709aefd88f1a17e6bca (diff) | |
download | manaplus-624ddd306ebbd1cfdfd5bf85832ee969e15a619c.tar.gz manaplus-624ddd306ebbd1cfdfd5bf85832ee969e15a619c.tar.bz2 manaplus-624ddd306ebbd1cfdfd5bf85832ee969e15a619c.tar.xz manaplus-624ddd306ebbd1cfdfd5bf85832ee969e15a619c.zip |
Move JOB stat from net enum into attributes.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int, int> exp = PlayerInfo::getStatExperience(id); |