From 6d9f73feb392a9cdf6800db52fe87f6fce5178fe Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Fri, 21 Jul 2023 13:16:38 +0200 Subject: [PATCH] Add comment --- src/features/movement.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/features/movement.c b/src/features/movement.c index e6478f7..f6c8373 100644 --- a/src/features/movement.c +++ b/src/features/movement.c @@ -12,6 +12,7 @@ void bhop(usercmd_t* cmd) { static bool was_in_air = false; + /* 2 frames in air, release jump */ if (was_in_air && !(i_pmove->flags & FL_ONGROUND)) cmd->buttons &= ~IN_JUMP;