QTfrontend/game.cpp
changeset 214 3cd2b0f4531e
parent 213 c5480c5b11ff
child 228 7298aaee99b4
--- a/QTfrontend/game.cpp	Sat Oct 28 15:09:51 2006 +0000
+++ b/QTfrontend/game.cpp	Sat Oct 28 15:35:31 2006 +0000
@@ -62,7 +62,7 @@
 		SendIPC("eaddteam");
 		LocalCFG(teams[i]);
 		QColor clr=m_teamsParams[teams[i]].teamColor;
-		SendIPC(QString("ecolor %1").arg(clr.rgb()).toAscii());//&0xFFFFFF
+		SendIPC(QString("ecolor %1").arg(clr.rgb()&0xFFFFFF).toAscii());
 		for (int t = 0; t < m_teamsParams[teams[i]].numHedgehogs; t++)
 			SendIPC(QString("eadd hh%1 0").arg(t).toAscii());
 	}