summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 7a64dea24..e1ba96893 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1264,7 +1264,7 @@ void LocalPlayer::attributeChanged(const AttributesT id,
addXpMessage(change);
break;
}
- case Attributes::PLAYER_LEVEL:
+ case Attributes::PLAYER_BASE_LEVEL:
mLevel = newVal;
break;
case Attributes::PLAYER_HP:
@@ -2630,7 +2630,7 @@ void LocalPlayer::respawn()
int LocalPlayer::getLevel() const
{
- return PlayerInfo::getAttribute(Attributes::PLAYER_LEVEL);
+ return PlayerInfo::getAttribute(Attributes::PLAYER_BASE_LEVEL);
}
void LocalPlayer::updateNavigateList()