Add comment
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user