summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 15:39:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commita6f509e5724bea354c4da040b210ad21937d9b26 (patch)
treeded1d613f3f9896ae1489c61af89aa1e86f43dcc /src/net/eathena/playerhandler.cpp
parent081e86a783d33e92d9566f5262b629031887d404 (diff)
downloadmanaverse-a6f509e5724bea354c4da040b210ad21937d9b26.tar.gz
manaverse-a6f509e5724bea354c4da040b210ad21937d9b26.tar.bz2
manaverse-a6f509e5724bea354c4da040b210ad21937d9b26.tar.xz
manaverse-a6f509e5724bea354c4da040b210ad21937d9b26.zip
Move FLEE 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 2617b70f6..e322e1374 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -350,8 +350,8 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
PlayerInfo::setStatBase(HIT, msg.readInt16("hit"));
- PlayerInfo::setStatBase(FLEE, msg.readInt16("flee"), false);
- PlayerInfo::setStatMod(FLEE, msg.readInt16("flee2/10"));
+ PlayerInfo::setStatBase(Attributes::FLEE, msg.readInt16("flee"), false);
+ PlayerInfo::setStatMod(Attributes::FLEE, msg.readInt16("flee2/10"));
PlayerInfo::setStatBase(Attributes::CRIT, msg.readInt16("crit/10"));