QTfrontend/game.cpp
changeset 601 78a68cc4d846
parent 596 38bdde6a54c1
child 602 f7628ebfccde
--- a/QTfrontend/game.cpp	Tue Sep 18 19:52:46 2007 +0000
+++ b/QTfrontend/game.cpp	Thu Sep 20 20:00:10 2007 +0000
@@ -120,7 +120,7 @@
 	QByteArray teamscfg;
 	HWProto::addStringToBuffer(teamscfg, "TL");
 	HWProto::addStringToBuffer(teamscfg, "eseed none");
-	HWProto::addStringToBuffer(teamscfg, "e$gmflags 0");
+	HWProto::addStringToBuffer(teamscfg, QString("e$gmflags %1").arg(0x10000000));
 	HWProto::addStringToBuffer(teamscfg, "e$turntime 60000");
 	HWProto::addStringToBuffer(teamscfg, "emap mushrooms");
 	HWProto::addStringToBuffer(teamscfg, "etheme avematan");
@@ -132,13 +132,6 @@
 	HWProto::addStringListToBuffer(teamscfg,
 			team1.TeamGameConfig(100));
 
-	HWTeam team2(2);
-	team2.difficulty = 4;
-	team2.teamColor = QColor(16776960);
-	team2.numHedgehogs = 4;
-	HWProto::addStringListToBuffer(teamscfg,
-			team2.TeamGameConfig(100));
-
 	QFile file(datadir->absolutePath() + "/Trainings/001_Shotgun.txt");
 	if(!file.open(QFile::ReadOnly))
 	{