summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/attrs.h3
-rw-r--r--src/net/eathena/generalhandler.cpp2
-rw-r--r--src/net/eathena/playerhandler.cpp4
3 files changed, 4 insertions, 5 deletions
diff --git a/src/net/eathena/attrs.h b/src/net/eathena/attrs.h
index 424e6ea96..af4734f45 100644
--- a/src/net/eathena/attrs.h
+++ b/src/net/eathena/attrs.h
@@ -40,8 +40,7 @@ namespace EAthena
DEF,
MATK,
MDEF,
- HIT,
- FLEE
+ HIT
};
} // namespace EAthena
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 5669d452e..a2e2e1be9 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -360,7 +360,7 @@ void GeneralHandler::gameStarted() const
// xgettext:no-c-format
statusWindow->addAttribute(HIT, _("% Accuracy"));
// xgettext:no-c-format
- statusWindow->addAttribute(FLEE, _("% Evade"));
+ statusWindow->addAttribute(Attributes::FLEE, _("% Evade"));
// xgettext:no-c-format
statusWindow->addAttribute(Attributes::CRIT, _("% Critical"));
statusWindow->addAttribute(Attributes::ATTACK_DELAY, _("Attack Delay"));
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 2617b70f6..e322e1374 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -350,8 +350,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("flee2/10"));
+ PlayerInfo::setStatBase(Attributes::FLEE, msg.readInt16("flee"), false);
+ PlayerInfo::setStatMod(Attributes::FLEE, msg.readInt16("flee2/10"));
PlayerInfo::setStatBase(Attributes::CRIT, msg.readInt16("crit/10"));