Fixed invalid spinner max value in kart screen

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-05-16 16:55:15 +00:00
parent db52b6907d
commit bc29666749

View File

@ -266,7 +266,7 @@ public:
const int playerAmount = UserConfigParams::m_all_players.size();
m_player_ident_spinner->m_properties[PROP_MIN_VALUE] = "0";
m_player_ident_spinner->m_properties[PROP_MAX_VALUE] = (playerAmount-1);
m_player_ident_spinner->m_properties[PROP_MAX_VALUE] = StringUtils::toString(playerAmount-1);
m_player_ident_spinner->m_properties[PROP_ID] = spinnerID;
m_player_ident_spinner->m_properties[PROP_WARP_AROUND] = "true";