summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
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<int, int> exp = PlayerInfo::getStatExperience(id);