summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/attrs.h3
-rw-r--r--src/net/tmwa/generalhandler.cpp2
-rw-r--r--src/net/tmwa/playerhandler.cpp4
3 files changed, 4 insertions, 5 deletions
diff --git a/src/net/tmwa/attrs.h b/src/net/tmwa/attrs.h
index 7989349af..4ee05f44e 100644
--- a/src/net/tmwa/attrs.h
+++ b/src/net/tmwa/attrs.h
@@ -40,8 +40,7 @@ namespace TmwAthena
DEF,
MATK,
MDEF,
- HIT,
- FLEE
+ HIT
};
} // namespace TmwAthena
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 67f0e8dcb..24638cd39 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -330,7 +330,7 @@ void GeneralHandler::gameStarted() const
statusWindow->addAttribute(HIT, _("% Accuracy"));
// TRANSLATORS: player stat
// xgettext:no-c-format
- statusWindow->addAttribute(FLEE, _("% Evade"));
+ statusWindow->addAttribute(Attributes::FLEE, _("% Evade"));
// TRANSLATORS: player stat
// xgettext:no-c-format
statusWindow->addAttribute(Attributes::CRIT, _("% Critical"));
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index 2167bf4a9..196c3eabf 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -418,8 +418,8 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
PlayerInfo::setStatBase(HIT, msg.readInt16("hit"));
- PlayerInfo::setStatBase(FLEE, msg.readInt16("flee"), false);
- PlayerInfo::setStatMod(FLEE, msg.readInt16("flee+"));
+ PlayerInfo::setStatBase(Attributes::FLEE, msg.readInt16("flee"), false);
+ PlayerInfo::setStatMod(Attributes::FLEE, msg.readInt16("flee+"));
PlayerInfo::setStatBase(Attributes::CRIT, msg.readInt16("crit"));