correct team info in frames (displaying bots difficulty fixed)
authordisplacer
Fri, 23 Feb 2007 10:08:13 +0000
changeset 482 61c617f1bec7
parent 481 44ceded179a4
child 483 2c8d6072c261
correct team info in frames (displaying bots difficulty fixed)
QTfrontend/teamselect.cpp
--- a/QTfrontend/teamselect.cpp	Fri Feb 23 09:31:28 2007 +0000
+++ b/QTfrontend/teamselect.cpp	Fri Feb 23 10:08:13 2007 +0000
@@ -128,6 +128,7 @@
     // return if max playing teams reached
     if(framePlaying->isFullTeams()) return;
     // dont playing team => playing
+    team=*itDontPlay; // for net team info saving in framePlaying (we have only name with netID from network)
     itDontPlay->teamColor=framePlaying->getNextColor();
     curPlayingTeams.push_back(*itDontPlay);
     if(!m_acceptOuter) emit teamWillPlay(*itDontPlay);