@@ -775,13 +775,13 @@ DEF_SERVER_RECEIVE_COMMAND(PACKET_CLIENT
if (cp->cmd != CMD_PLAYER_CTRL && ci->client_playas-1 != cp->player) {
// The player did a command with the wrong player_id.. bad!!
SEND_COMMAND(PACKET_SERVER_ERROR)(cs, NETWORK_ERROR_PLAYER_MISMATCH);
return;
}
if (cp->cmd == CMD_PLAYER_CTRL) {
// UGLY! p1 is mis-used to get the client-id in CmdPlayerCtrl
// UGLY! p2 is mis-used to get the client-id in CmdPlayerCtrl
cp->p2 = cs - _clients;
// The frame can be executed in the same frame as the next frame-packet
// That frame just before that frame is saved in _frame_counter_max