initial colors assign fix
authordisplacer
Sun, 04 Feb 2007 16:56:39 +0000
changeset 387 66345e38826d
parent 386 21eeb5ac0486
child 388 dcf5335940bd
initial colors assign fix
QTfrontend/teamselect.cpp
--- a/QTfrontend/teamselect.cpp	Sun Feb 04 15:46:52 2007 +0000
+++ b/QTfrontend/teamselect.cpp	Sun Feb 04 16:56:39 2007 +0000
@@ -128,6 +128,7 @@
     // return if max playing teams reached
     if(framePlaying->isFullTeams()) return;
     // dont playing team => playing
+    itDontPlay->teamColor=framePlaying->getNextColor();
     curPlayingTeams.push_back(*itDontPlay);
     if(!m_acceptOuter) emit teamWillPlay(*itDontPlay);
     curDontPlayingTeams.erase(itDontPlay);