QTfrontend/game.cpp
changeset 352 4665bfe25470
parent 341 184230eb4151
child 379 e4cd3cd209c6
--- a/QTfrontend/game.cpp	Sun Jan 21 19:51:02 2007 +0000
+++ b/QTfrontend/game.cpp	Sun Jan 21 19:53:25 2007 +0000
@@ -77,11 +77,11 @@
 	if (m_pTeamSelWidget)
 	{
 		qDebug() << "adding teams from teamselwidget...";
-		QList<HWTeam> teams = QList<HWTeam>::fromStdList(m_pTeamSelWidget->getPlayingTeams());
+		QList<HWTeam> teams = m_pTeamSelWidget->getPlayingTeams();
 		for(QList<HWTeam>::iterator it = teams.begin(); it != teams.end(); ++it)
 		{
 			qDebug() << "a team...";
-			(*it).numHedgehogs = 4;
+			//(*it).numHedgehogs = 4;
 			HWProto::addStringListToBuffer(buf,
 				(*it).TeamGameConfig(gamecfg->getInitHealth()));
 		}