summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-05-26 02:32:18 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-05-26 02:32:18 +0100
commitdacb42286f41065c495b685a73ac6885dba3dcd8 (patch)
tree7884fcef469a77ef8548e52faca5bdae80d5111a /src
parent8d8202990d0b63277fe095cc4b649d9de87d3893 (diff)
Fix a dumb mistake I didn't check before pushing
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);
}