mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Merge branch 'lunch' into 'next'
Don't apply pw_justlaunched if the player didn't actually launch off a slope See merge request STJr/SRB2!1447
This commit is contained in:
commit
e1843841bc
1 changed files with 3 additions and 3 deletions
|
@ -774,13 +774,13 @@ void P_SlopeLaunch(mobj_t *mo)
|
|||
mo->momx = slopemom.x;
|
||||
mo->momy = slopemom.y;
|
||||
mo->momz = slopemom.z/2;
|
||||
|
||||
if (mo->player)
|
||||
mo->player->powers[pw_justlaunched] = 1;
|
||||
}
|
||||
|
||||
//CONS_Printf("Launched off of slope.\n");
|
||||
mo->standingslope = NULL;
|
||||
|
||||
if (mo->player)
|
||||
mo->player->powers[pw_justlaunched] = 1;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue