From 64d30eda264c342aced8d791b47a35def0e4d15c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Sep 2017 20:27:11 +0300 Subject: Rename Attributes::PLAYER_LEVEL to Attributes::PLAYER_BASE_LEVEL. --- src/being/localplayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being/localplayer.cpp') 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() -- cgit v1.2.3-60-g2f50