mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 01:11:18 +00:00
make no_pogo_stick 3 force friction whether or not jump is active
This commit is contained in:
parent
dd727edb17
commit
65033cbe64
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue