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 98ed935f9..0ab833e5c 100644
--- a/src/net/ea/eaprotocol.h
+++ b/src/net/ea/eaprotocol.h
@@ -31,8 +31,7 @@ enum
EA_AGI,
EA_VIT,
EA_INT,
- EA_DEX,
- EA_LUK
+ EA_DEX
};
enum
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index cc2de72c7..f16f6103f 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -382,7 +382,7 @@ void PlayerHandler::setStat(const int type,
setStatComplex(EA_DEX);
break;
case 0x0012:
- setStatComplex(EA_LUK);
+ setStatComplex(Attributes::LUK);
break;
case 0x0014:
{
@@ -470,7 +470,7 @@ void PlayerHandler::setStat(const int type,
statusWindow->setPointsNeeded(EA_DEX, base);
break;
case 0x0025:
- statusWindow->setPointsNeeded(EA_LUK, base);
+ statusWindow->setPointsNeeded(Attributes::LUK, base);
break;
case 0x0029:
PlayerInfo::setStatBase(Attributes::ATK, base);