DEADSOFTWARE

oops; don't drop keys when dmkeys is 1
authorfgsfds <pvt.fgsfds@gmail.com>
Sat, 8 Feb 2020 23:05:18 +0000 (02:05 +0300)
committerfgsfds <pvt.fgsfds@gmail.com>
Sat, 8 Feb 2020 23:05:18 +0000 (02:05 +0300)
src/game/g_player.pas

index 6c7006be15f110d75aa1774838a35812e255337e..2ec93df11d2f99501fa7ce1176c5076105436ad7 100644 (file)
@@ -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);