diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-14 12:48:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-14 12:48:35 +0300 |
commit | c5a0ab5deef736b2a7493546bd96d0fec2a2c4ac (patch) | |
tree | 6bdc4b34b02e158b620cd6860edc9acb6c2cb623 /src | |
parent | 27efea7d495fdf755f7e94edb1f39103b6f8f072 (diff) | |
download | plus-c5a0ab5deef736b2a7493546bd96d0fec2a2c4ac.tar.gz plus-c5a0ab5deef736b2a7493546bd96d0fec2a2c4ac.tar.bz2 plus-c5a0ab5deef736b2a7493546bd96d0fec2a2c4ac.tar.xz plus-c5a0ab5deef736b2a7493546bd96d0fec2a2c4ac.zip |
eathena: remove stats from char creation dialog.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 24 |
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); } |