mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 01:43:50 +00:00
Merge branch 'slowball' into 'next'
Make CA_SLOWFALL Account for Scale See merge request STJr/SRB2!1806
This commit is contained in:
commit
c582d73e4c
1 changed files with 1 additions and 1 deletions
|
@ -5543,7 +5543,7 @@ static void P_DoJumpStuff(player_t *player, ticcmd_t *cmd)
|
|||
{
|
||||
fixed_t potentialmomz;
|
||||
if (player->charability == CA_SLOWFALL)
|
||||
potentialmomz = -gravity*4;
|
||||
potentialmomz = FixedMul(gravity, -4*player->mo->scale);
|
||||
else
|
||||
potentialmomz = ((player->speed < 10*player->mo->scale)
|
||||
? (player->speed - 10*player->mo->scale)/5
|
||||
|
|
Loading…
Reference in a new issue