From d0a72be7362cfad41187b6e9544ac44802a66ebd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Jun 2016 21:56:30 +0300 Subject: Remove basic attributes usage from generalhandler and move to statuswindow and statdb. --- src/net/tmwa/generalhandler.cpp | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 390c2d021..f7515de02 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -211,24 +211,8 @@ void GeneralHandler::gameStarted() const // protection against double addition attributes. statusWindow->clearAttributes(); - statusWindow->addAttribute(Attributes::STR, - // TRANSLATORS: player stat - _("Strength"), "str", Modifiable_true); - statusWindow->addAttribute(Attributes::AGI, - // TRANSLATORS: player stat - _("Agility"), "agi", Modifiable_true); - statusWindow->addAttribute(Attributes::VIT, - // TRANSLATORS: player stat - _("Vitality"), "vit", Modifiable_true); - statusWindow->addAttribute(Attributes::INT, - // TRANSLATORS: player stat - _("Intelligence"), "int", Modifiable_true); - statusWindow->addAttribute(Attributes::DEX, - // TRANSLATORS: player stat - _("Dexterity"), "dex", Modifiable_true); - statusWindow->addAttribute(Attributes::LUK, - // TRANSLATORS: player stat - _("Luck"), "luk", Modifiable_true); + statusWindow->addBasicAttributes(); + // TRANSLATORS: player stat statusWindow->addAttribute(Attributes::ATK, _("Attack")); // TRANSLATORS: player stat -- cgit v1.2.3-70-g09d2