summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-27 20:27:11 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-27 20:27:11 +0300
commit64d30eda264c342aced8d791b47a35def0e4d15c (patch)
treec680d467213104dd8ae4a030c04fe212f3a6b23c /src/being/localplayer.cpp
parent68a7dd225969fcdfb9c07b99db43756a2b1dec7c (diff)
downloadmanaverse-64d30eda264c342aced8d791b47a35def0e4d15c.tar.gz
manaverse-64d30eda264c342aced8d791b47a35def0e4d15c.tar.bz2
manaverse-64d30eda264c342aced8d791b47a35def0e4d15c.tar.xz
manaverse-64d30eda264c342aced8d791b47a35def0e4d15c.zip
Rename Attributes::PLAYER_LEVEL to Attributes::PLAYER_BASE_LEVEL.
Diffstat (limited to 'src/being/localplayer.cpp')
-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()