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.cpp2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/net/eathena/attrs.h b/src/net/eathena/attrs.h
index af4734f45..75f5653e3 100644
--- a/src/net/eathena/attrs.h
+++ b/src/net/eathena/attrs.h
@@ -39,8 +39,7 @@ namespace EAthena
ATK,
DEF,
MATK,
- MDEF,
- HIT
+ MDEF
};
} // namespace EAthena
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index a2e2e1be9..03c2d8864 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -358,7 +358,7 @@ void GeneralHandler::gameStarted() const
statusWindow->addAttribute(MATK, _("M.Attack"));
statusWindow->addAttribute(MDEF, _("M.Defense"));
// xgettext:no-c-format
- statusWindow->addAttribute(HIT, _("% Accuracy"));
+ statusWindow->addAttribute(Attributes::HIT, _("% Accuracy"));
// xgettext:no-c-format
statusWindow->addAttribute(Attributes::FLEE, _("% Evade"));
// xgettext:no-c-format
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index e322e1374..b0e58c3ff 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -348,7 +348,7 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
PlayerInfo::setStatBase(MDEF, msg.readInt16("left mdef"), false);
PlayerInfo::setStatMod(MDEF, msg.readInt16("right 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("flee2/10"));