mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +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
|
// set onground, watertype, and waterlevel
|
||||||
PM_CategorizePosition ();
|
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
|
&& onground != -1 && pmove.oldonground == -1 // just landed
|
||||||
&& no_pogo_stick->int_val & 2) {
|
&& (no_pogo_stick->int_val & 2)) {
|
||||||
float save = movevars.friction;
|
float save = movevars.friction;
|
||||||
|
|
||||||
pmove.waterjumptime = 0;
|
pmove.waterjumptime = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue