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/playerhandler.cpp | |
parent | b35357cfcd58ac26d2f9d008a2db5b931cccb428 (diff) | |
download | manaplus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.tar.gz manaplus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.tar.bz2 manaplus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.tar.xz manaplus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.zip |
Move STR stat from net enum into attributes.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |