From 41b320bbdbcdc6bc158ab9dde9741ac50f194936 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Oct 2014 15:44:38 +0300 Subject: Move HIT stat from net enum into attributes. --- src/net/tmwa/playerhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/tmwa/playerhandler.cpp') diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index 196c3eabf..514a1d839 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -416,7 +416,7 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg) PlayerInfo::setStatBase(MDEF, msg.readInt16("mdef"), false); PlayerInfo::setStatMod(MDEF, msg.readInt16("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("flee+")); -- cgit v1.2.3-70-g09d2