src/network/network_data.cpp
branchNewGRF_ports
changeset 10184 fcf5fb2548eb
parent 6872 1c4a4a609f85
child 10724 68a692eacf22
equal deleted inserted replaced
10179:eec5a7dcbf61 10184:fcf5fb2548eb
    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