QTfrontend/netconnectedclient.cpp
changeset 443 eec37eb7f5db
parent 420 6cdfc07dceed
child 455 925891c52e40
equal deleted inserted replaced
442:57ed1444606e 443:eec37eb7f5db
   107     else m_hwserver->m_gameCfg[lst[1]]=lst.mid(2);
   107     else m_hwserver->m_gameCfg[lst[1]]=lst.mid(2);
   108     qDebug() << msg;
   108     qDebug() << msg;
   109   }
   109   }
   110 
   110 
   111   if(lst[0]=="ADDTEAM:") {
   111   if(lst[0]=="ADDTEAM:") {
   112     if(lst.size()<11) return;
   112     if(lst.size()<14) return;
   113     lst.pop_front();
   113     lst.pop_front();
   114     
   114     
   115     // add team ID
   115     // add team ID
   116     static unsigned int netTeamID=0;
   116     static unsigned int netTeamID=0;
   117     lst.insert(1, QString::number(++netTeamID));
   117     lst.insert(1, QString::number(++netTeamID));