(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:
rubidium 2007-08-30 19:42:09 +00:00
parent 84d1c4e8c5
commit 9097f2b1d4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}