QTfrontend/teamselect.cpp
changeset 387 66345e38826d
parent 384 29299ca39155
child 482 61c617f1bec7
--- 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);