QTfrontend/game.cpp
changeset 3162 663e0e55e5c7
parent 3160 f2a3d861b23a
child 3236 4ab3917d7d44
--- a/QTfrontend/game.cpp	Mon Mar 29 20:32:35 2010 +0000
+++ b/QTfrontend/game.cpp	Mon Mar 29 20:40:33 2010 +0000
@@ -124,7 +124,7 @@
     team2->numHedgehogs = 4;
 	do
         namegen.TeamRandomNames(team2,TRUE);
-	while(!team2->TeamName.compare(team1->TeamName));
+	while(!team2->TeamName.compare(team1->TeamName) || !team2->HHHat[0].compare(team1->HHHat[0]));
     HWProto::addStringListToBuffer(teamscfg,
             team2->TeamGameConfig(100));