From ddc708ac878d76291d9162254f41cdcb710e59c8 Mon Sep 17 00:00:00 2001 From: LJ Sonic Date: Fri, 25 Nov 2022 22:40:28 +0100 Subject: [PATCH] Remove shift+F12 shortcut This would conflict if your shift key is bound to a control =(( --- src/g_game.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/g_game.c b/src/g_game.c index 43057d0eb..74bc42711 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -1969,8 +1969,10 @@ static boolean ViewpointSwitchResponder(event_t *ev) direction = 1; if (ev->key == gamecontrol[GC_VIEWPOINTPREV][0] || ev->key == gamecontrol[GC_VIEWPOINTPREV][1]) direction = -1; - if (shiftdown) - direction = -direction; + // This enabled reverse-iterating with shift+F12, sadly I had to + // disable this in case your shift key is bound to a control =(( + //if (shiftdown) + // direction = -direction; // allow spy mode changes even during the demo if (!(gamestate == GS_LEVEL && ev->type == ev_keydown && direction != 0))