summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 15:44:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commit41b320bbdbcdc6bc158ab9dde9741ac50f194936 (patch)
tree20c9573740c297b3e16f09eb701089df21b699ba /src/net/eathena/playerhandler.cpp
parenta6f509e5724bea354c4da040b210ad21937d9b26 (diff)
downloadmv-41b320bbdbcdc6bc158ab9dde9741ac50f194936.tar.gz
mv-41b320bbdbcdc6bc158ab9dde9741ac50f194936.tar.bz2
mv-41b320bbdbcdc6bc158ab9dde9741ac50f194936.tar.xz
mv-41b320bbdbcdc6bc158ab9dde9741ac50f194936.zip
Move HIT stat from net enum into attributes.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index e322e1374..b0e58c3ff 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -348,7 +348,7 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
PlayerInfo::setStatBase(MDEF, msg.readInt16("left mdef"), false);
PlayerInfo::setStatMod(MDEF, msg.readInt16("right mdef"));
- PlayerInfo::setStatBase(HIT, msg.readInt16("hit"));
+ PlayerInfo::setStatBase(Attributes::HIT, msg.readInt16("hit"));
PlayerInfo::setStatBase(Attributes::FLEE, msg.readInt16("flee"), false);
PlayerInfo::setStatMod(Attributes::FLEE, msg.readInt16("flee2/10"));