From e9d116af80824c1a58ad4be0aa7a4066db380260 Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Tue, 6 Jul 2021 22:03:18 -0400 Subject: bugfix - off by 1 --- common/accel-jump.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/accel-jump.hpp b/common/accel-jump.hpp index 47a1a30..95fa461 100644 --- a/common/accel-jump.hpp +++ b/common/accel-jump.hpp @@ -52,7 +52,7 @@ namespace rawaccel { { if (is_smooth()) return smooth(x) + 1; else if (x < step.x) return 1; - else return step.y; + else return 1 + step.y; } }; -- cgit v1.2.3