changeset 356 | ca3a5dfcae75 |
parent 354 | 60e4af0a4375 |
child 362 | b28e0dd48269 |
--- a/QTfrontend/newnetclient.cpp Sun Jan 21 21:31:10 2007 +0000 +++ b/QTfrontend/newnetclient.cpp Sun Jan 21 22:27:42 2007 +0000 @@ -237,6 +237,10 @@ } if (lst[1] == "HHNUM") { HWTeam tmptm(lst[2], lst[3].toUInt()); + QMap<unsigned int, QString>::iterator it=m_networkToLocalteams.find(lst[3].toUInt()); + if(it!=m_networkToLocalteams.end()) { + tmptm=HWTeam(lst[2]); // local team should be changed + } tmptm.numHedgehogs=lst[4].toUInt(); emit hhnumChanged(tmptm); return;