Add comment
This commit is contained in:
parent
790de69b5c
commit
6d9f73feb3
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue