From dacb42286f41065c495b685a73ac6885dba3dcd8 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 26 May 2022 02:32:18 +0100 Subject: Fix a dumb mistake I didn't check before pushing --- src/autojump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/autojump.c b/src/autojump.c index bba5eb4..590b916 100644 --- a/src/autojump.c +++ b/src/autojump.c @@ -55,7 +55,7 @@ static bool VCALLCONV hookcl(void *this) { // prediction in general wrong, so this'll need more work to do totally // properly. //if (con_getvari(sst_autojump) && !justjumped[0]) mv->oldbuttons &= ~IN_JUMP; - mv->oldbuttons &= ~IN_JUMP; + if (con_getvari(sst_autojump)) mv->oldbuttons &= ~IN_JUMP; return justjumped[0] = origcl(this); } -- cgit v1.2.3