summaryrefslogtreecommitdiff
path: root/src/net
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/net
parent68a7dd225969fcdfb9c07b99db43756a2b1dec7c (diff)
downloadplus-64d30eda264c342aced8d791b47a35def0e4d15c.tar.gz
plus-64d30eda264c342aced8d791b47a35def0e4d15c.tar.bz2
plus-64d30eda264c342aced8d791b47a35def0e4d15c.tar.xz
plus-64d30eda264c342aced8d791b47a35def0e4d15c.zip
Rename Attributes::PLAYER_LEVEL to Attributes::PLAYER_BASE_LEVEL.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/charserverrecv.cpp2
-rw-r--r--src/net/eathena/playerhandler.cpp2
-rw-r--r--src/net/tmwa/charserverrecv.cpp2
-rw-r--r--src/net/tmwa/playerhandler.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp
index 9aea7602e..3178a6d5f 100644
--- a/src/net/eathena/charserverrecv.cpp
+++ b/src/net/eathena/charserverrecv.cpp
@@ -137,7 +137,7 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg,
weapon);
tempPlayer->setWeaponId(weapon);
- data.mAttributes[Attributes::PLAYER_LEVEL] = msg.readInt16("level");
+ data.mAttributes[Attributes::PLAYER_BASE_LEVEL] = msg.readInt16("level");
msg.readInt16("skill points");
const int bottomClothes = msg.readInt16("head bottom");
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 606b85529..c7361e1b0 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -581,7 +581,7 @@ void PlayerHandler::setStat(Net::MessageIn &msg,
PlayerInfo::setAttribute(Attributes::PLAYER_CHAR_POINTS, base);
break;
case Sp::BASELEVEL:
- PlayerInfo::setAttribute(Attributes::PLAYER_LEVEL, base);
+ PlayerInfo::setAttribute(Attributes::PLAYER_BASE_LEVEL, base);
if (localPlayer != nullptr)
{
localPlayer->setLevel(base);
diff --git a/src/net/tmwa/charserverrecv.cpp b/src/net/tmwa/charserverrecv.cpp
index 0f16effa9..50571b29c 100644
--- a/src/net/tmwa/charserverrecv.cpp
+++ b/src/net/tmwa/charserverrecv.cpp
@@ -106,7 +106,7 @@ void CharServerRecv::readPlayerData(Net::MessageIn &msg,
weapon);
tempPlayer->setWeaponId(weapon);
- data.mAttributes[Attributes::PLAYER_LEVEL] = msg.readInt16("level");
+ data.mAttributes[Attributes::PLAYER_BASE_LEVEL] = msg.readInt16("level");
msg.readInt16("skill point");
const int bottomClothes = msg.readInt16("bottom clothes");
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index 02102a78b..d234a6a4a 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -282,7 +282,7 @@ void PlayerHandler::setStat(Net::MessageIn &msg,
PlayerInfo::setAttribute(Attributes::PLAYER_CHAR_POINTS, base);
break;
case Sp::BASELEVEL:
- PlayerInfo::setAttribute(Attributes::PLAYER_LEVEL, base);
+ PlayerInfo::setAttribute(Attributes::PLAYER_BASE_LEVEL, base);
if (localPlayer != nullptr)
{
localPlayer->setLevel(base);