From c5a0ab5deef736b2a7493546bd96d0fec2a2c4ac Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Sep 2014 12:48:35 +0300 Subject: eathena: remove stats from char creation dialog. --- src/net/eathena/charserverhandler.cpp | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index e353d970e..7ef14b6ea 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -301,33 +301,11 @@ void CharServerHandler::setCharCreateDialog(CharCreateDialog *const window) return; StringVect attributes; - // TRANSLATORS: playe stat - attributes.push_back(_("Strength:")); - // TRANSLATORS: playe stat - attributes.push_back(_("Agility:")); - // TRANSLATORS: playe stat - attributes.push_back(_("Vitality:")); - // TRANSLATORS: playe stat - attributes.push_back(_("Intelligence:")); - // TRANSLATORS: playe stat - attributes.push_back(_("Dexterity:")); - // TRANSLATORS: playe stat - attributes.push_back(_("Luck:")); const Token &token = static_cast(Net::getLoginHandler())->getToken(); - int minStat = CharDB::getMinStat(); - if (!minStat) - minStat = 1; - int maxStat = CharDB::getMaxStat(); - if (!maxStat) - maxStat = 9; - int sumStat = CharDB::getSumStat(); - if (!sumStat) - sumStat = 30; - - mCharCreateDialog->setAttributes(attributes, sumStat, minStat, maxStat); + mCharCreateDialog->setAttributes(attributes, 0, 0, 0); mCharCreateDialog->setFixedGender(true, token.sex); } -- cgit v1.2.3-70-g09d2