summaryrefslogtreecommitdiff
path: root/src/net/ea/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/ea/playerhandler.cpp
parent41b320bbdbcdc6bc158ab9dde9741ac50f194936 (diff)
downloadmanaverse-b43ec95b7046619a35f5bdf2f3c1bb3e9663bdb7.tar.gz
manaverse-b43ec95b7046619a35f5bdf2f3c1bb3e9663bdb7.tar.bz2
manaverse-b43ec95b7046619a35f5bdf2f3c1bb3e9663bdb7.tar.xz
manaverse-b43ec95b7046619a35f5bdf2f3c1bb3e9663bdb7.zip
Move MDEF 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 7e116e9a2..63b865784 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -500,10 +500,10 @@ void PlayerHandler::setStat(const int type,
PlayerInfo::setStatMod(EA_DEF, base);
break;
case 0x002f:
- PlayerInfo::setStatBase(EA_MDEF, base);
+ PlayerInfo::setStatBase(Attributes::MDEF, base);
break;
case 0x0030:
- PlayerInfo::setStatMod(EA_MDEF, base);
+ PlayerInfo::setStatMod(Attributes::MDEF, base);
break;
case 0x0031:
PlayerInfo::setStatBase(Attributes::HIT, base);