src/network/network_data.cpp
changeset 8694 e523ac1c5e69
parent 8254 1496654ca5e7
child 9111 48ce04029fe4
equal deleted inserted replaced
8693:530c3ebc5a61 8694:e523ac1c5e69
    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