summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/eaprotocol.h3
-rw-r--r--src/net/ea/playerhandler.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/net/ea/eaprotocol.h b/src/net/ea/eaprotocol.h
index cb21ff7f1..df71a0a80 100644
--- a/src/net/ea/eaprotocol.h
+++ b/src/net/ea/eaprotocol.h
@@ -37,8 +37,7 @@ enum
EA_ATK,
EA_DEF,
EA_MATK,
- EA_MDEF,
- EA_HIT
+ EA_MDEF
};
enum
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 54296f181..7e116e9a2 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -506,7 +506,7 @@ void PlayerHandler::setStat(const int type,
PlayerInfo::setStatMod(EA_MDEF, base);
break;
case 0x0031:
- PlayerInfo::setStatBase(EA_HIT, base);
+ PlayerInfo::setStatBase(Attributes::HIT, base);
break;
case 0x0032:
PlayerInfo::setStatBase(Attributes::FLEE, base);