From a6f509e5724bea354c4da040b210ad21937d9b26 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Oct 2014 15:39:59 +0300 Subject: Move FLEE stat from net enum into attributes. --- src/net/tmwa/playerhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa/playerhandler.cpp') diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index 2167bf4a9..196c3eabf 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -418,8 +418,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("flee+")); + PlayerInfo::setStatBase(Attributes::FLEE, msg.readInt16("flee"), false); + PlayerInfo::setStatMod(Attributes::FLEE, msg.readInt16("flee+")); PlayerInfo::setStatBase(Attributes::CRIT, msg.readInt16("crit")); -- cgit v1.2.3-70-g09d2