scale minimum dashmode thok on actionspd, not normalspeed

This commit is contained in:
katsy 2020-12-10 20:52:06 -05:00
parent 5853a0b4d8
commit f79ded7c0b

View file

@ -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;