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 5bb9ef46d..cb21ff7f1 100644 --- a/src/net/ea/eaprotocol.h +++ b/src/net/ea/eaprotocol.h @@ -38,8 +38,7 @@ enum EA_DEF, EA_MATK, EA_MDEF, - EA_HIT, - EA_FLEE + EA_HIT }; enum diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index cafd4b681..54296f181 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -509,10 +509,10 @@ void PlayerHandler::setStat(const int type, PlayerInfo::setStatBase(EA_HIT, base); break; case 0x0032: - PlayerInfo::setStatBase(EA_FLEE, base); + PlayerInfo::setStatBase(Attributes::FLEE, base); break; case 0x0033: - PlayerInfo::setStatMod(EA_FLEE, base); + PlayerInfo::setStatMod(Attributes::FLEE, base); break; case 0x0034: PlayerInfo::setStatBase(Attributes::CRIT, base); |