--- a/QTfrontend/netserver.cpp Thu Jan 18 19:59:04 2007 +0000
+++ b/QTfrontend/netserver.cpp Thu Jan 18 20:29:28 2007 +0000
@@ -59,6 +59,9 @@
void HWNetServer::ClientDisconnect(HWConnectedClient* client)
{
QList<HWConnectedClient*>::iterator it=std::find(connclients.begin(), connclients.end(), client);
+ for(QList<QStringList>::iterator tmIt=(*it)->m_teamsCfg.begin(); tmIt!=(*it)->m_teamsCfg.end(); ++tmIt) {
+ sendOthers(*it, QString("REMOVETEAM:")+delimeter+*(tmIt->begin()));
+ }
connclients.erase(it);
//teamChanged();
}