make no_pogo_stick 3 force friction whether or not jump is active

This commit is contained in:
Bill Currie 2002-10-18 17:47:31 +00:00
parent dd727edb17
commit 65033cbe64
1 changed files with 2 additions and 2 deletions

View File

@ -824,9 +824,9 @@ PlayerMove (void)
// set onground, watertype, and waterlevel
PM_CategorizePosition ();
if (pmove.cmd.buttons & BUTTON_JUMP
if (((pmove.cmd.buttons & BUTTON_JUMP) || (no_pogo_stick->int_val & 1))
&& onground != -1 && pmove.oldonground == -1 // just landed
&& no_pogo_stick->int_val & 2) {
&& (no_pogo_stick->int_val & 2)) {
float save = movevars.friction;
pmove.waterjumptime = 0;