From: fgsfds Date: Sat, 8 Feb 2020 23:05:18 +0000 (+0300) Subject: oops; don't drop keys when dmkeys is 1 X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=commitdiff_plain;h=ab6584e462f432b3dd46a91f3a89cab35a0c7243 oops; don't drop keys when dmkeys is 1 --- diff --git a/src/game/g_player.pas b/src/game/g_player.pas index 6c7006b..2ec93df 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -3542,7 +3542,7 @@ begin // Âûáðîñ êëþ÷åé: if (not (gGameSettings.GameMode in [GM_DM, GM_TDM, GM_CTF])) or - LongBool(gGameSettings.Options and GAME_OPTION_DMKEYS) then + (not LongBool(gGameSettings.Options and GAME_OPTION_DMKEYS)) then begin if R_KEY_RED in FRulez then PushItem(ITEM_KEY_RED);