summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/autojump.c2
1 files changed, 1 insertions, 1 deletions
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);
}