QTfrontend/netclient.cpp
changeset 37 2b7f2a43b999
parent 36 a803a00a3272
child 84 0f6669da2fcb
equal deleted inserted replaced
36:a803a00a3272 37:2b7f2a43b999
   392 	if (state == nsJoined)
   392 	if (state == nsJoined)
   393 	{
   393 	{
   394 		if (msg.startsWith(MAGIC_CHAR"Start!"MAGIC_CHAR) && (who == opnick))
   394 		if (msg.startsWith(MAGIC_CHAR"Start!"MAGIC_CHAR) && (who == opnick))
   395 		{
   395 		{
   396 			state = nsStarting;
   396 			state = nsStarting;
   397 			RunGame(msg.mid(7));
   397 			RunGame(msg.mid(8));
   398 			return ;
   398 			return ;
   399 		}
   399 		}
   400 		if (msg.startsWith(MAGIC_CHAR"="MAGIC_CHAR) && (who == opnick))
   400 		if (msg.startsWith(MAGIC_CHAR"="MAGIC_CHAR) && (who == opnick))
   401 		{
   401 		{
   402 			emit ChangeInTeams(msg.mid(3).split(MAGIC_CHAR));
   402 			emit ChangeInTeams(msg.mid(3).split(MAGIC_CHAR));