summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 23:11:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 23:11:36 +0300
commit5704f4887327b5415300c066ec5296c9dd110070 (patch)
tree1ce0308d3886b43d9f9c82809a7b25ddf49eda2f /src/net
parent6f7e50348f6366e5bf7f3a20b2b65297c811f3ba (diff)
downloadplus-5704f4887327b5415300c066ec5296c9dd110070.tar.gz
plus-5704f4887327b5415300c066ec5296c9dd110070.tar.bz2
plus-5704f4887327b5415300c066ec5296c9dd110070.tar.xz
plus-5704f4887327b5415300c066ec5296c9dd110070.zip
add restrict into statuswindow.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/generalhandler.cpp12
-rw-r--r--src/net/tmwa/generalhandler.cpp12
2 files changed, 12 insertions, 12 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index f6657db36..0e1cfebb4 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -240,12 +240,12 @@ void GeneralHandler::gameStarted() const
// protection against double addition attributes.
statusWindow->clearAttributes();
- statusWindow->addAttribute(STR, _("Strength"), "str", true, "");
- statusWindow->addAttribute(AGI, _("Agility"), "agi", true, "");
- statusWindow->addAttribute(VIT, _("Vitality"), "vit", true, "");
- statusWindow->addAttribute(INT, _("Intelligence"), "int", true, "");
- statusWindow->addAttribute(DEX, _("Dexterity"), "dex", true, "");
- statusWindow->addAttribute(LUK, _("Luck"), "luk", true, "");
+ statusWindow->addAttribute(STR, _("Strength"), "str", true);
+ statusWindow->addAttribute(AGI, _("Agility"), "agi", true);
+ statusWindow->addAttribute(VIT, _("Vitality"), "vit", true);
+ statusWindow->addAttribute(INT, _("Intelligence"), "int", true);
+ statusWindow->addAttribute(DEX, _("Dexterity"), "dex", true);
+ statusWindow->addAttribute(LUK, _("Luck"), "luk", true);
statusWindow->addAttribute(ATK, _("Attack"));
statusWindow->addAttribute(DEF, _("Defense"));
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index d2fe22c62..725393790 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -269,17 +269,17 @@ void GeneralHandler::gameStarted() const
statusWindow->clearAttributes();
// TRANSLATORS: player stat
- statusWindow->addAttribute(STR, _("Strength"), "str", true, "");
+ statusWindow->addAttribute(STR, _("Strength"), "str", true);
// TRANSLATORS: player stat
- statusWindow->addAttribute(AGI, _("Agility"), "agi", true, "");
+ statusWindow->addAttribute(AGI, _("Agility"), "agi", true);
// TRANSLATORS: player stat
- statusWindow->addAttribute(VIT, _("Vitality"), "vit", true, "");
+ statusWindow->addAttribute(VIT, _("Vitality"), "vit", true);
// TRANSLATORS: player stat
- statusWindow->addAttribute(INT, _("Intelligence"), "int", true, "");
+ statusWindow->addAttribute(INT, _("Intelligence"), "int", true);
// TRANSLATORS: player stat
- statusWindow->addAttribute(DEX, _("Dexterity"), "dex", true, "");
+ statusWindow->addAttribute(DEX, _("Dexterity"), "dex", true);
// TRANSLATORS: player stat
- statusWindow->addAttribute(LUK, _("Luck"), "luk", true, "");
+ statusWindow->addAttribute(LUK, _("Luck"), "luk", true);
// TRANSLATORS: player stat
statusWindow->addAttribute(ATK, _("Attack"));