QTfrontend/game.cpp
changeset 3344 b18a166e6ca4
parent 3236 4ab3917d7d44
child 3346 967fd96f7373
--- a/QTfrontend/game.cpp	Fri Apr 16 00:02:30 2010 +0000
+++ b/QTfrontend/game.cpp	Fri Apr 16 12:38:31 2010 +0000
@@ -124,7 +124,7 @@
     team2->numHedgehogs = 4;
 	do
         namegen.TeamRandomNames(team2,TRUE);
-	while(!team2->TeamName.compare(team1->TeamName) || !team2->HHHat[0].compare(team1->HHHat[0]));
+	while(!team2->TeamName.compare(team1->TeamName) || !team2->Hedgehogs[0].Hat.compare(team1->Hedgehogs[0].Hat));
     HWProto::addStringListToBuffer(teamscfg,
             team2->TeamGameConfig(100));