summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-11 19:28:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-11 19:28:57 +0300
commit87c59212f8590a8dd72fac3e320fcb2ada781355 (patch)
tree198d627c44f1164140659827a5c782d30bec375b /src/net/tmwa/generalhandler.cpp
parent02e91411eb9961e95f856bd717d6ca0d8ec0e435 (diff)
downloadmv-87c59212f8590a8dd72fac3e320fcb2ada781355.tar.gz
mv-87c59212f8590a8dd72fac3e320fcb2ada781355.tar.bz2
mv-87c59212f8590a8dd72fac3e320fcb2ada781355.tar.xz
mv-87c59212f8590a8dd72fac3e320fcb2ada781355.zip
Move player attributes into separate file.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r--src/net/tmwa/generalhandler.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index eef89324e..9fd4eb78e 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -26,6 +26,8 @@
#include "configuration.h"
#include "logger.h"
+#include "being/attributes.h"
+
#include "gui/windows/inventorywindow.h"
#include "gui/windows/skilldialog.h"
#include "gui/windows/socialwindow.h"
@@ -302,13 +304,13 @@ void GeneralHandler::gameStarted() const
// xgettext:no-c-format
statusWindow->addAttribute(CRIT, _("% Critical"));
// TRANSLATORS: player stat
- statusWindow->addAttribute(PlayerInfo::ATTACK_DELAY, _("Attack Delay"));
+ statusWindow->addAttribute(Attributes::ATTACK_DELAY, _("Attack Delay"));
// TRANSLATORS: player stat
- statusWindow->addAttribute(PlayerInfo::WALK_SPEED, _("Walk Delay"));
+ statusWindow->addAttribute(Attributes::WALK_SPEED, _("Walk Delay"));
// TRANSLATORS: player stat
- statusWindow->addAttribute(PlayerInfo::ATTACK_RANGE, _("Attack Range"));
+ statusWindow->addAttribute(Attributes::ATTACK_RANGE, _("Attack Range"));
// TRANSLATORS: player stat
- statusWindow->addAttribute(PlayerInfo::ATTACK_SPEED, _("Damage per sec."));
+ statusWindow->addAttribute(Attributes::ATTACK_SPEED, _("Damage per sec."));
}
void GeneralHandler::gameEnded() const