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.cpp4
2 files changed, 3 insertions, 4 deletions
diff --git a/src/net/ea/eaprotocol.h b/src/net/ea/eaprotocol.h
index f355b16a9..b1df70a20 100644
--- a/src/net/ea/eaprotocol.h
+++ b/src/net/ea/eaprotocol.h
@@ -34,8 +34,7 @@ enum
EA_DEX,
EA_LUK,
- EA_ATK,
- EA_DEF
+ EA_ATK
};
enum
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);