summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/eaprotocol.h4
-rw-r--r--src/net/ea/playerhandler.cpp4
2 files changed, 3 insertions, 5 deletions
diff --git a/src/net/ea/eaprotocol.h b/src/net/ea/eaprotocol.h
index 00240d574..a34681309 100644
--- a/src/net/ea/eaprotocol.h
+++ b/src/net/ea/eaprotocol.h
@@ -25,9 +25,7 @@
enum
{
- EA_JOB = 0xa,
-
- EA_STR = 0xd
+ EA_JOB = 0xa
};
enum
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 96b8e6b23..4bdc2bc8b 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -367,7 +367,7 @@ void PlayerHandler::setStat(const int type,
skillDialog->update();
break;
case 0x000d:
- setStatComplex(EA_STR);
+ setStatComplex(Attributes::STR);
break;
case 0x000e:
setStatComplex(Attributes::AGI);
@@ -455,7 +455,7 @@ void PlayerHandler::setStat(const int type,
PlayerInfo::setAttribute(Attributes::MAX_WEIGHT, base);
break;
case 0x0020:
- statusWindow->setPointsNeeded(EA_STR, base);
+ statusWindow->setPointsNeeded(Attributes::STR, base);
break;
case 0x0021:
statusWindow->setPointsNeeded(Attributes::AGI, base);