diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-29 21:56:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-30 00:03:20 +0300 |
commit | d0a72be7362cfad41187b6e9544ac44802a66ebd (patch) | |
tree | 76ca7130307a6f9b9b648ffd019fe0bba5cfda67 /src/net/eathena | |
parent | e2c1b87e38e5c921912b334ca971e92b7989f8a8 (diff) | |
download | ManaVerse-d0a72be7362cfad41187b6e9544ac44802a66ebd.tar.gz ManaVerse-d0a72be7362cfad41187b6e9544ac44802a66ebd.tar.bz2 ManaVerse-d0a72be7362cfad41187b6e9544ac44802a66ebd.tar.xz ManaVerse-d0a72be7362cfad41187b6e9544ac44802a66ebd.zip |
Remove basic attributes usage from generalhandler and move to statuswindow and statdb.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/generalhandler.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp index fb78e800f..029b7123a 100644 --- a/src/net/eathena/generalhandler.cpp +++ b/src/net/eathena/generalhandler.cpp @@ -200,24 +200,7 @@ 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")); |