diff options
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/eaprotocol.h | 3 | ||||
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/net/ea/eaprotocol.h b/src/net/ea/eaprotocol.h index df71a0a80..618b1c0c8 100644 --- a/src/net/ea/eaprotocol.h +++ b/src/net/ea/eaprotocol.h @@ -36,8 +36,7 @@ enum EA_ATK, EA_DEF, - EA_MATK, - EA_MDEF + EA_MATK }; enum 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); |