// wants to stand, if currently crouching we need to check for a low ceiling first
if (IS_DUCKED(this))
{
- tracebox(this.origin, STAT(PL_MIN, NULL), STAT(PL_MAX, NULL), this.origin, MOVE_NORMAL, this);
+ tracebox(this.origin, STAT(PL_MIN, this), STAT(PL_MAX, this), this.origin, MOVE_NORMAL, this);
if (!trace_startsolid) UNSET_DUCKED(this);
}
}
bool doublejump = false;
float mjumpheight = PHYS_JUMPVELOCITY(this);
+ bool track_jump = PHYS_CL_TRACK_CANJUMP(this);
if (MUTATOR_CALLHOOK(PlayerJump, this, mjumpheight, doublejump))
return true;
{
doublejump = true;
mjumpheight *= 0.7;
+ track_jump = true;
}
else
{
if (!IS_ONGROUND(this) && !IS_ONSLICK(this))
return IS_JUMP_HELD(this);
- bool track_jump = PHYS_CL_TRACK_CANJUMP(this);
if(PHYS_TRACK_CANJUMP(this))
track_jump = true;