summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 16:32:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commite6853de603d64bd6e194e308e5e532339545e892 (patch)
tree8839596e6f54ee6a93a045377d3101f7ef9e66b4 /src/net/tmwa/playerhandler.cpp
parent52c0fc91e3b59b0f9a2cac98cb4cd1eb5847884c (diff)
downloadmanaverse-e6853de603d64bd6e194e308e5e532339545e892.tar.gz
manaverse-e6853de603d64bd6e194e308e5e532339545e892.tar.bz2
manaverse-e6853de603d64bd6e194e308e5e532339545e892.tar.xz
manaverse-e6853de603d64bd6e194e308e5e532339545e892.zip
Move DEF 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 247a0f6d9..504484217 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -410,8 +410,8 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
val = msg.readInt16("matk+");
PlayerInfo::setStatMod(Attributes::MATK, val);
- PlayerInfo::setStatBase(DEF, msg.readInt16("def"), false);
- PlayerInfo::setStatMod(DEF, msg.readInt16("def+"));
+ PlayerInfo::setStatBase(Attributes::DEF, msg.readInt16("def"), false);
+ PlayerInfo::setStatMod(Attributes::DEF, msg.readInt16("def+"));
PlayerInfo::setStatBase(Attributes::MDEF, msg.readInt16("mdef"), false);
PlayerInfo::setStatMod(Attributes::MDEF, msg.readInt16("mdef+"));