diff -r 7440fe992e73 -r 7b9aa7aac336 QTfrontend/game.cpp --- a/QTfrontend/game.cpp Tue May 03 23:16:47 2011 +0200 +++ b/QTfrontend/game.cpp Wed May 04 01:19:39 2011 +0200 @@ -19,6 +19,7 @@ #include #include #include +#include #include "game.h" #include "hwconsts.h" @@ -117,7 +118,7 @@ HWTeam * team1; team1 = new HWTeam; team1->difficulty = 0; - team1->teamColor = *colors[0]; + team1->teamColor = QColor(colors[0]); team1->numHedgehogs = 4; namegen.TeamRandomNames(team1,TRUE); HWProto::addStringListToBuffer(teamscfg, @@ -126,7 +127,7 @@ HWTeam * team2; team2 = new HWTeam; team2->difficulty = 4; - team2->teamColor = *colors[1]; + team2->teamColor = QColor(colors[1]); team2->numHedgehogs = 4; do namegen.TeamRandomNames(team2,TRUE);