QTfrontend/game.cpp
changeset 7149 08a30dd92900
parent 7130 fcab1fd02bc6
child 7152 f49254ddfc67
child 7180 53ffc8853008
child 7201 dc17ffdf0702
child 7218 9ecd5bc9810b
--- a/QTfrontend/game.cpp	Wed May 23 22:46:37 2012 +0200
+++ b/QTfrontend/game.cpp	Tue May 29 22:33:10 2012 +0200
@@ -124,7 +124,7 @@
 
     HWTeam team1;
     team1.setDifficulty(0);
-    team1.setColor(QColor(colors[0]));
+    team1.setColor(0);
     team1.setNumHedgehogs(4);
     HWNamegen::teamRandomNames(team1,true);
     HWProto::addStringListToBuffer(teamscfg,
@@ -132,7 +132,7 @@
 
     HWTeam team2;
     team2.setDifficulty(4);
-    team2.setColor(QColor(colors[1]));
+    team2.setColor(1);
     team2.setNumHedgehogs(4);
     do
         HWNamegen::teamRandomNames(team2,true);