Prevent 'double team exiting' in egine
authorunc0rr
Fri, 20 Feb 2009 19:48:44 +0000
changeset 1816 be39d409b675
parent 1815 3d62cf9c350e
child 1817 c697dd093bc5
Prevent 'double team exiting' in egine
QTfrontend/newnetclient.cpp
--- a/QTfrontend/newnetclient.cpp	Fri Feb 20 19:47:31 2009 +0000
+++ b/QTfrontend/newnetclient.cpp	Fri Feb 20 19:48:44 2009 +0000
@@ -330,12 +330,6 @@
 			return;
 		}
 		m_pTeamSelWidget->removeNetTeam(HWTeam(lst[1]));
-		if (netClientState == 5) // we're in game, need to tell the engine about this
-		{
-			QByteArray em;
-			HWProto::addStringToBuffer(em, "F" + lst[1]);
-			emit FromNet(em);
-		}
 		return;
 	}