Fix team name in training (broken by ttsmj's random teams patch)
authorunc0rr
Tue, 12 May 2009 15:17:49 +0000
changeset 2049 243d363546e7
parent 2048 aa49db7b261b
child 2050 8149802b4f14
Fix team name in training (broken by ttsmj's random teams patch)
QTfrontend/game.cpp
--- a/QTfrontend/game.cpp	Tue May 12 15:15:46 2009 +0000
+++ b/QTfrontend/game.cpp	Tue May 12 15:17:49 2009 +0000
@@ -134,7 +134,7 @@
 	QByteArray traincfg;
 	HWProto::addStringToBuffer(traincfg, "TL");
 
-	HWTeam team1(0);
+	HWTeam team1;
 	team1.difficulty = 0;
 	team1.teamColor = *color1;
 	team1.numHedgehogs = 1;