summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/attrs.h4
-rw-r--r--src/net/eathena/generalhandler.cpp2
-rw-r--r--src/net/eathena/playerhandler.cpp4
3 files changed, 4 insertions, 6 deletions
diff --git a/src/net/eathena/attrs.h b/src/net/eathena/attrs.h
index db866c0bc..049aff97f 100644
--- a/src/net/eathena/attrs.h
+++ b/src/net/eathena/attrs.h
@@ -34,9 +34,7 @@ namespace EAthena
VIT,
INT,
DEX,
- LUK,
-
- ATK
+ LUK
};
} // namespace EAthena
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 83b55e3bd..bebf22842 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -353,7 +353,7 @@ void GeneralHandler::gameStarted() const
statusWindow->addAttribute(DEX, _("Dexterity"), "dex", true);
statusWindow->addAttribute(LUK, _("Luck"), "luk", true);
- statusWindow->addAttribute(ATK, _("Attack"));
+ statusWindow->addAttribute(Attributes::ATK, _("Attack"));
statusWindow->addAttribute(Attributes::DEF, _("Defense"));
statusWindow->addAttribute(Attributes::MATK, _("M.Attack"));
statusWindow->addAttribute(Attributes::MDEF, _("M.Defense"));
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index c1412819b..6fca5bb08 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -332,8 +332,8 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
else
msg.readUInt8("luk cost");
- PlayerInfo::setStatBase(ATK, msg.readInt16("left atk"), false);
- PlayerInfo::setStatMod(ATK, msg.readInt16("right atk"));
+ PlayerInfo::setStatBase(Attributes::ATK, msg.readInt16("left atk"), false);
+ PlayerInfo::setStatMod(Attributes::ATK, msg.readInt16("right atk"));
PlayerInfo::updateAttrs();
val = msg.readInt16("right matk");