summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 17:00:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commite6eef288f86dcc16aa2b5ba20c9079ead78f17e2 (patch)
treea878c5d7efab2c382bfa53860af305c8148b2c88 /src/net/eathena/playerhandler.cpp
parente6853de603d64bd6e194e308e5e532339545e892 (diff)
downloadplus-e6eef288f86dcc16aa2b5ba20c9079ead78f17e2.tar.gz
plus-e6eef288f86dcc16aa2b5ba20c9079ead78f17e2.tar.bz2
plus-e6eef288f86dcc16aa2b5ba20c9079ead78f17e2.tar.xz
plus-e6eef288f86dcc16aa2b5ba20c9079ead78f17e2.zip
Move ATK stat from net enum into attributes.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index c1412819b..6fca5bb08 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -332,8 +332,8 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
else
msg.readUInt8("luk cost");
- PlayerInfo::setStatBase(ATK, msg.readInt16("left atk"), false);
- PlayerInfo::setStatMod(ATK, msg.readInt16("right atk"));
+ PlayerInfo::setStatBase(Attributes::ATK, msg.readInt16("left atk"), false);
+ PlayerInfo::setStatMod(Attributes::ATK, msg.readInt16("right atk"));
PlayerInfo::updateAttrs();
val = msg.readInt16("right matk");