diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/attrs.h | 3 | ||||
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/net/tmwa/attrs.h b/src/net/tmwa/attrs.h index 4ee05f44e..04a49a9ca 100644 --- a/src/net/tmwa/attrs.h +++ b/src/net/tmwa/attrs.h @@ -39,8 +39,7 @@ namespace TmwAthena ATK, DEF, MATK, - MDEF, - HIT + MDEF }; } // namespace TmwAthena diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 24638cd39..3ec0e234d 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -327,7 +327,7 @@ void GeneralHandler::gameStarted() const statusWindow->addAttribute(MDEF, _("M.Defense")); // TRANSLATORS: player stat // xgettext:no-c-format - statusWindow->addAttribute(HIT, _("% Accuracy")); + statusWindow->addAttribute(Attributes::HIT, _("% Accuracy")); // TRANSLATORS: player stat // xgettext:no-c-format statusWindow->addAttribute(Attributes::FLEE, _("% Evade")); diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index 196c3eabf..514a1d839 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -416,7 +416,7 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg) PlayerInfo::setStatBase(MDEF, msg.readInt16("mdef"), false); PlayerInfo::setStatMod(MDEF, msg.readInt16("mdef+")); - PlayerInfo::setStatBase(HIT, msg.readInt16("hit")); + PlayerInfo::setStatBase(Attributes::HIT, msg.readInt16("hit")); PlayerInfo::setStatBase(Attributes::FLEE, msg.readInt16("flee"), false); PlayerInfo::setStatMod(Attributes::FLEE, msg.readInt16("flee+")); |