Add comment

This commit is contained in:
8dcc 2023-07-21 13:16:38 +02:00
parent 790de69b5c
commit 6d9f73feb3
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ void bhop(usercmd_t* cmd) {
static bool was_in_air = false; static bool was_in_air = false;
/* 2 frames in air, release jump */
if (was_in_air && !(i_pmove->flags & FL_ONGROUND)) if (was_in_air && !(i_pmove->flags & FL_ONGROUND))
cmd->buttons &= ~IN_JUMP; cmd->buttons &= ~IN_JUMP;