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/being/localplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being/localplayer.cpp') diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 3f775b321..b747c78bd 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -1037,7 +1037,7 @@ void LocalPlayer::statChanged(const int id, const int oldVal1, const int oldVal2) { - if (!mShowJobExp || id != playerHandler->getJobLocation()) + if (!mShowJobExp || id != Attributes::JOB) return; const std::pair exp = PlayerInfo::getStatExperience(id); -- cgit v1.2.3-60-g2f50