mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-20 00:11:19 +00:00
scale minimum dashmode thok on actionspd, not normalspeed
This commit is contained in:
parent
5853a0b4d8
commit
f79ded7c0b
1 changed files with 1 additions and 1 deletions
|
@ -5289,7 +5289,7 @@ static void P_DoJumpStuff(player_t *player, ticcmd_t *cmd)
|
|||
fixed_t actionspd = player->actionspd;
|
||||
|
||||
if (player->charflags & SF_DASHMODE)
|
||||
actionspd = max(player->normalspeed, FixedDiv(player->speed, player->mo->scale));
|
||||
actionspd = max(player->actionspd, FixedDiv(player->speed, player->mo->scale));
|
||||
|
||||
if (player->mo->eflags & MFE_UNDERWATER)
|
||||
actionspd >>= 1;
|
||||
|
|
Loading…
Reference in a new issue