QTfrontend/game.cpp
changeset 3876 3dd031a8b395
parent 3774 af0e68ca273e
child 3919 76d5b32758d9
--- a/QTfrontend/game.cpp	Sat Sep 18 01:50:29 2010 +0200
+++ b/QTfrontend/game.cpp	Sat Sep 18 12:35:58 2010 +0200
@@ -115,7 +115,7 @@
     HWTeam * team1;
     team1 = new HWTeam;
     team1->difficulty = 0;
-    team1->teamColor = *color1;
+    team1->teamColor = *colors[0];
     team1->numHedgehogs = 4;
     namegen.TeamRandomNames(team1,TRUE);
     HWProto::addStringListToBuffer(teamscfg,
@@ -124,7 +124,7 @@
     HWTeam * team2;
     team2 = new HWTeam;
     team2->difficulty = 4;
-    team2->teamColor = *color2;
+    team2->teamColor = *colors[1];
     team2->numHedgehogs = 4;
 	do
         namegen.TeamRandomNames(team2,TRUE);