Corrected other FIXME

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-06-26 19:36:59 +00:00
parent b9fcde4826
commit 2275ecaa2b

View File

@ -136,8 +136,7 @@ void RaceSetupScreen::onGameModeChanged()
DynamicRibbonWidget* w2 = getWidget<DynamicRibbonWidget>("gamemode");
assert( w2 != NULL );
//FIXME: don't hardcode player 0?
std::string gamemode = w2->getSelectionIDString(0);
std::string gamemode = w2->getSelectionIDString(PLAYER_ID_GAME_MASTER);
// deactivate the AI karts count widget for modes for which we have no AI
//FIXME? Don't hardcode here which modes have an AI and which don't