889
897
* to match the player in the packet. If it doesn't, the client has done
890
898
* something pretty naughty (or a bug), and will be kicked
893
901
IConsolePrintF(_icolour_err, "WARNING: player %d (IP: %s) tried to execute a command as player %d, kicking...",
894
902
ci->client_playas + 1, GetPlayerIP(ci), cp->player + 1);
895
903
SEND_COMMAND(PACKET_SERVER_ERROR)(cs, NETWORK_ERROR_PLAYER_MISMATCH);