equal
deleted
inserted
replaced
173 return; |
173 return; |
174 } |
174 } |
175 |
175 |
176 if(lst[0]=="SLAVE") { |
176 if(lst[0]=="SLAVE") { |
177 m_pGameCFGWidget->setEnabled(false); |
177 m_pGameCFGWidget->setEnabled(false); |
|
178 m_pTeamSelWidget->setNonInteractive(); |
178 return; |
179 return; |
179 } |
180 } |
180 |
181 |
181 if (lst[0] == "CONFIGASKED") { |
182 if (lst[0] == "CONFIGASKED") { |
182 isChief=true; |
183 isChief=true; |
235 emit fortsModeChanged(lst[2].toInt() != 0); |
236 emit fortsModeChanged(lst[2].toInt() != 0); |
236 return; |
237 return; |
237 } |
238 } |
238 if (lst[1] == "HHNUM") { |
239 if (lst[1] == "HHNUM") { |
239 HWTeam tmptm(lst[2], lst[3].toUInt()); |
240 HWTeam tmptm(lst[2], lst[3].toUInt()); |
240 QMap<unsigned int, QString>::iterator it=m_networkToLocalteams.find(lst[3].toUInt()); |
241 if(m_networkToLocalteams.find(lst[3].toUInt())!=m_networkToLocalteams.end()) { |
241 if(it!=m_networkToLocalteams.end()) { |
|
242 tmptm=HWTeam(lst[2]); // local team should be changed |
242 tmptm=HWTeam(lst[2]); // local team should be changed |
243 } |
243 } |
244 tmptm.numHedgehogs=lst[4].toUInt(); |
244 tmptm.numHedgehogs=lst[4].toUInt(); |
245 emit hhnumChanged(tmptm); |
245 emit hhnumChanged(tmptm); |
246 return; |
246 return; |