summaryrefslogtreecommitdiff
path: root/src/net/ea/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/ea/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/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 4c9f5be61..c12da7bfc 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -494,10 +494,10 @@ void PlayerHandler::setStat(const int type,
PlayerInfo::setStatMod(Attributes::MATK, base);
break;
case 0x002d:
- PlayerInfo::setStatBase(EA_DEF, base);
+ PlayerInfo::setStatBase(Attributes::DEF, base);
break;
case 0x002e:
- PlayerInfo::setStatMod(EA_DEF, base);
+ PlayerInfo::setStatMod(Attributes::DEF, base);
break;
case 0x002f:
PlayerInfo::setStatBase(Attributes::MDEF, base);