From 52c0fc91e3b59b0f9a2cac98cb4cd1eb5847884c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Oct 2014 16:01:43 +0300 Subject: Move MATK 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 857ac1e8d..247a0f6d9 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -405,10 +405,10 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg) PlayerInfo::updateAttrs(); val = msg.readInt16("matk"); - PlayerInfo::setStatBase(MATK, val, false); + PlayerInfo::setStatBase(Attributes::MATK, val, false); val = msg.readInt16("matk+"); - PlayerInfo::setStatMod(MATK, val); + PlayerInfo::setStatMod(Attributes::MATK, val); PlayerInfo::setStatBase(DEF, msg.readInt16("def"), false); PlayerInfo::setStatMod(DEF, msg.readInt16("def+")); -- cgit v1.2.3-70-g09d2