summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 12:48:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 12:48:35 +0300
commitc5a0ab5deef736b2a7493546bd96d0fec2a2c4ac (patch)
tree6bdc4b34b02e158b620cd6860edc9acb6c2cb623
parent27efea7d495fdf755f7e94edb1f39103b6f8f072 (diff)
downloadmanaplus-c5a0ab5deef736b2a7493546bd96d0fec2a2c4ac.tar.gz
manaplus-c5a0ab5deef736b2a7493546bd96d0fec2a2c4ac.tar.bz2
manaplus-c5a0ab5deef736b2a7493546bd96d0fec2a2c4ac.tar.xz
manaplus-c5a0ab5deef736b2a7493546bd96d0fec2a2c4ac.zip
eathena: remove stats from char creation dialog.
-rw-r--r--src/net/eathena/charserverhandler.cpp24
1 files changed, 1 insertions, 23 deletions
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<LoginHandler*>(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);
}