diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-01 17:44:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-01 19:28:09 +0300 |
commit | 1d6c226f2aae2410f9785709aefd88f1a17e6bca (patch) | |
tree | b5d1d89f8c0418c3c0a95875285ac4c9350692b8 /src/net/ea | |
parent | b35357cfcd58ac26d2f9d008a2db5b931cccb428 (diff) | |
download | plus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.tar.gz plus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.tar.bz2 plus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.tar.xz plus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.zip |
Move STR stat from net enum into attributes.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/eaprotocol.h | 4 | ||||
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 |
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); |