equal
deleted
inserted
replaced
251 void HWForm::StartMPGame() |
251 void HWForm::StartMPGame() |
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 game->AddTeam(it->TeamName, ui.pageMultiplayer->teamsSelect->numHedgedogs(it->TeamName)); |
256 HWTeamTempParams params=ui.pageMultiplayer->teamsSelect->getTeamParams(it->TeamName); |
|
257 game->AddTeam(it->TeamName, params.numHedgehogs); |
257 } |
258 } |
258 game->StartLocal(); |
259 game->StartLocal(); |
259 } |
260 } |