QTfrontend/netconnectedclient.cpp
changeset 747 c7f67e90c3ee
parent 746 980240306370
child 883 07a568ba44e0
equal deleted inserted replaced
746:980240306370 747:c7f67e90c3ee
   128     int newTeamHHNum = lst[3].toUInt();
   128     int newTeamHHNum = lst[3].toUInt();
   129     m_hwserver->hhnum+=newTeamHHNum-oldTeamHHNum;
   129     m_hwserver->hhnum+=newTeamHHNum-oldTeamHHNum;
   130     // create CONFIG_PARAM to save HHNUM at server from lst
   130     // create CONFIG_PARAM to save HHNUM at server from lst
   131     lst=QStringList("CONFIG_PARAM") << confstr << lst[3];
   131     lst=QStringList("CONFIG_PARAM") << confstr << lst[3];
   132     m_hwserver->sendOthers(this, lst.join(QString(delimeter)));
   132     m_hwserver->sendOthers(this, lst.join(QString(delimeter)));
   133     // return is really, really unneded here!
   133     m_hwserver->m_gameCfg[lst[1]]=lst.mid(2);
       
   134     return;
   134   }
   135   }
   135 
   136 
   136   if(lst[0]=="CONFIG_PARAM") {
   137   if(lst[0]=="CONFIG_PARAM") {
   137     if (lst.size()<3) {
   138     if (lst.size()<3) {
   138       qWarning((QString("Net server: Bad 'CONFIG_PARAM' message: ")+msg).toAscii().data());
   139       qWarning((QString("Net server: Bad 'CONFIG_PARAM' message: ")+msg).toAscii().data());