summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 16:01:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commit52c0fc91e3b59b0f9a2cac98cb4cd1eb5847884c (patch)
treecf74fecfc3e828a0aefb81545e7e5aca417787c0 /src/net/eathena/playerhandler.cpp
parentb43ec95b7046619a35f5bdf2f3c1bb3e9663bdb7 (diff)
downloadmanaplus-52c0fc91e3b59b0f9a2cac98cb4cd1eb5847884c.tar.gz
manaplus-52c0fc91e3b59b0f9a2cac98cb4cd1eb5847884c.tar.bz2
manaplus-52c0fc91e3b59b0f9a2cac98cb4cd1eb5847884c.tar.xz
manaplus-52c0fc91e3b59b0f9a2cac98cb4cd1eb5847884c.zip
Move MATK 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 c8a5705c7..b3b7df25b 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -337,10 +337,10 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
PlayerInfo::updateAttrs();
val = msg.readInt16("right matk");
- PlayerInfo::setStatBase(MATK, val, false);
+ PlayerInfo::setStatBase(Attributes::MATK, val, false);
val = msg.readInt16("left matk");
- PlayerInfo::setStatMod(MATK, val);
+ PlayerInfo::setStatMod(Attributes::MATK, val);
PlayerInfo::setStatBase(DEF, msg.readInt16("left def"), false);
PlayerInfo::setStatMod(DEF, msg.readInt16("right def"));