mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-02-01 00:24:27 +01:00
(svn r11008) [0.5] -Fix (r11007): CTRL-S (save) and CTRL-Z (undo) shouldn't be pressed simultaniously before committing.
This commit is contained in:
@@ -823,7 +823,7 @@ static bool CheckCommandFlags(const CommandPacket *cp, const NetworkClientInfo *
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((cp->cmd != CMD_PLAYER_CTRL && !IsValidPlayer(cp->player) && ci->client_index != NETWORK_SERVER_INDEX) {
|
||||
if (cp->cmd != CMD_PLAYER_CTRL && !IsValidPlayer(cp->player) && ci->client_index != NETWORK_SERVER_INDEX) {
|
||||
IConsolePrintF(_icolour_err, "WARNING: spectator issueing command from client %d (IP: %s), kicking...", ci->client_index, GetPlayerIP(ci));
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user