QTfrontend/newnetclient.cpp
changeset 1841 fba7210b438b
parent 1838 00a5fc50aa43
child 1842 96a4757dfeb8
equal deleted inserted replaced
1840:4747f0232b88 1841:fba7210b438b
   426 		netClientState = 5;
   426 		netClientState = 5;
   427 		RunGame();
   427 		RunGame();
   428 		return;
   428 		return;
   429 	}
   429 	}
   430 
   430 
       
   431 	if (lst[0] == "ASKPASSWORD") {
       
   432 		RawSendNet(QString("PASSWORD"));
       
   433 		return;
       
   434 	}
       
   435 
   431 	if (lst[0] == "TEAM_ACCEPTED") {
   436 	if (lst[0] == "TEAM_ACCEPTED") {
   432 		if (lst.size() != 2)
   437 		if (lst.size() != 2)
   433 		{
   438 		{
   434 			qWarning("Net: Bad TEAM_ACCEPTED message");
   439 			qWarning("Net: Bad TEAM_ACCEPTED message");
   435 			return;
   440 			return;