diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/generalhandler.cpp | 19 | ||||
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 19 |
2 files changed, 0 insertions, 38 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp index 42a5ad974..fb78e800f 100644 --- a/src/net/eathena/generalhandler.cpp +++ b/src/net/eathena/generalhandler.cpp @@ -68,9 +68,6 @@ #include "net/eathena/questhandler.h" #include "net/eathena/vendinghandler.h" -#include "resources/db/itemdbstat.h" -#include "resources/db/statdb.h" - #include "utils/delete2.h" #include "utils/gettext.h" @@ -118,22 +115,6 @@ GeneralHandler::GeneralHandler() : mSearchStoreHandler(new SearchStoreHandler) { generalHandler = this; - - std::vector<ItemDB::Stat> stats; - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("str", _("Strength %s"))); - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("agi", _("Agility %s"))); - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("vit", _("Vitality %s"))); - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("int", _("Intelligence %s"))); - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("dex", _("Dexterity %s"))); - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("luck", _("Luck %s"))); - - StatDb::setStatsList(stats); } GeneralHandler::~GeneralHandler() diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 4fef79f57..390c2d021 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -71,9 +71,6 @@ #include "net/tmwa/vendinghandler.h" #endif -#include "resources/db/itemdbstat.h" -#include "resources/db/statdb.h" - #include "utils/delete2.h" #include "utils/gettext.h" @@ -125,22 +122,6 @@ GeneralHandler::GeneralHandler() : #endif { generalHandler = this; - - std::vector<ItemDB::Stat> stats; - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("str", _("Strength %s"))); - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("agi", _("Agility %s"))); - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("vit", _("Vitality %s"))); - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("int", _("Intelligence %s"))); - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("dex", _("Dexterity %s"))); - // TRANSLATORS: player stat - stats.push_back(ItemDB::Stat("luck", _("Luck %s"))); - - StatDb::setStatsList(stats); } GeneralHandler::~GeneralHandler() |