summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 15:47:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commitb43ec95b7046619a35f5bdf2f3c1bb3e9663bdb7 (patch)
tree3cda23e27408e56cce7b63aa0dd490af72ab94c1 /src/net/tmwa/playerhandler.cpp
parent41b320bbdbcdc6bc158ab9dde9741ac50f194936 (diff)
downloadplus-b43ec95b7046619a35f5bdf2f3c1bb3e9663bdb7.tar.gz
plus-b43ec95b7046619a35f5bdf2f3c1bb3e9663bdb7.tar.bz2
plus-b43ec95b7046619a35f5bdf2f3c1bb3e9663bdb7.tar.xz
plus-b43ec95b7046619a35f5bdf2f3c1bb3e9663bdb7.zip
Move MDEF stat from net enum into attributes.
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r--src/net/tmwa/playerhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index 514a1d839..857ac1e8d 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -413,8 +413,8 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
PlayerInfo::setStatBase(DEF, msg.readInt16("def"), false);
PlayerInfo::setStatMod(DEF, msg.readInt16("def+"));
- PlayerInfo::setStatBase(MDEF, msg.readInt16("mdef"), false);
- PlayerInfo::setStatMod(MDEF, msg.readInt16("mdef+"));
+ PlayerInfo::setStatBase(Attributes::MDEF, msg.readInt16("mdef"), false);
+ PlayerInfo::setStatMod(Attributes::MDEF, msg.readInt16("mdef+"));
PlayerInfo::setStatBase(Attributes::HIT, msg.readInt16("hit"));