src/network/network_data.cpp
branchnoai
changeset 9826 9707ad4c9b60
parent 9724 b39bc69bb2f2
child 10455 22c441f5adf9
equal deleted inserted replaced
9825:cc77111ebd85 9826:9707ad4c9b60
    77 		/* Only the local client (in this case, the server) gets the callback */
    77 		/* Only the local client (in this case, the server) gets the callback */
    78 		c.callback = 0;
    78 		c.callback = 0;
    79 		/* And we queue it for delivery to the clients */
    79 		/* And we queue it for delivery to the clients */
    80 		NetworkTCPSocketHandler *cs;
    80 		NetworkTCPSocketHandler *cs;
    81 		FOR_ALL_CLIENTS(cs) {
    81 		FOR_ALL_CLIENTS(cs) {
    82 			if (cs->status > STATUS_AUTH) NetworkAddCommandQueue(cs, &c);
    82 			if (cs->status > STATUS_MAP_WAIT) NetworkAddCommandQueue(cs, &c);
    83 		}
    83 		}
    84 		return;
    84 		return;
    85 	}
    85 	}
    86 
    86 
    87 	c.frame = 0; // The client can't tell which frame, so just make it 0
    87 	c.frame = 0; // The client can't tell which frame, so just make it 0