equal
deleted
inserted
replaced
252 { |
252 { |
253 game = new HWGame(config, ui.pageMultiplayer->gameCFG); |
253 game = new HWGame(config, ui.pageMultiplayer->gameCFG); |
254 list<HWTeam> teamslist=ui.pageMultiplayer->teamsSelect->getPlayingTeams(); |
254 list<HWTeam> teamslist=ui.pageMultiplayer->teamsSelect->getPlayingTeams(); |
255 for (list<HWTeam>::const_iterator it = teamslist.begin(); it != teamslist.end(); ++it ) { |
255 for (list<HWTeam>::const_iterator it = teamslist.begin(); it != teamslist.end(); ++it ) { |
256 HWTeamTempParams params=ui.pageMultiplayer->teamsSelect->getTeamParams(it->TeamName); |
256 HWTeamTempParams params=ui.pageMultiplayer->teamsSelect->getTeamParams(it->TeamName); |
257 game->AddTeam(it->TeamName, params.numHedgehogs); |
257 game->AddTeam(it->TeamName, params); |
258 } |
258 } |
259 game->StartLocal(); |
259 game->StartLocal(); |
260 } |
260 } |