diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/attrs.h | 6 | ||||
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/src/net/tmwa/attrs.h b/src/net/tmwa/attrs.h index 98c135ee1..7989349af 100644 --- a/src/net/tmwa/attrs.h +++ b/src/net/tmwa/attrs.h @@ -41,11 +41,7 @@ namespace TmwAthena MATK, MDEF, HIT, - FLEE, - CRIT - -// KARMA, -// MANNER + FLEE }; } // namespace TmwAthena diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index bde54c207..67f0e8dcb 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -333,7 +333,7 @@ void GeneralHandler::gameStarted() const statusWindow->addAttribute(FLEE, _("% Evade")); // TRANSLATORS: player stat // xgettext:no-c-format - statusWindow->addAttribute(CRIT, _("% Critical")); + statusWindow->addAttribute(Attributes::CRIT, _("% Critical")); // TRANSLATORS: player stat statusWindow->addAttribute(Attributes::ATTACK_DELAY, _("Attack Delay")); // TRANSLATORS: player stat diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index f2b47c607..2167bf4a9 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -421,7 +421,7 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg) PlayerInfo::setStatBase(FLEE, msg.readInt16("flee"), false); PlayerInfo::setStatMod(FLEE, msg.readInt16("flee+")); - PlayerInfo::setStatBase(CRIT, msg.readInt16("crit")); + PlayerInfo::setStatBase(Attributes::CRIT, msg.readInt16("crit")); PlayerInfo::setStatBase(Attributes::MANNER, msg.readInt16("manner")); msg.readInt16("unused?"); |