QTfrontend/hwform.cpp
changeset 213 c5480c5b11ff
parent 207 287077789132
child 231 c77b16e48273
--- a/QTfrontend/hwform.cpp	Sat Oct 28 13:18:23 2006 +0000
+++ b/QTfrontend/hwform.cpp	Sat Oct 28 15:09:51 2006 +0000
@@ -254,7 +254,7 @@
 	list<HWTeam> teamslist=ui.pageMultiplayer->teamsSelect->getPlayingTeams();
 	for (list<HWTeam>::const_iterator it = teamslist.begin(); it != teamslist.end(); ++it ) {
 	  HWTeamTempParams params=ui.pageMultiplayer->teamsSelect->getTeamParams(it->TeamName);
-	  game->AddTeam(it->TeamName, params.numHedgehogs);
+	  game->AddTeam(it->TeamName, params);
 	}
 	game->StartLocal();
 }