mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-12 22:02:12 +00:00
Merge branch 'dashaction' into 'next'
Scale minimum dashmode thok speed on actionspd, not normalspeed See merge request STJr/SRB2!1311
This commit is contained in:
commit
d915da6509
1 changed files with 1 additions and 1 deletions
|
@ -5301,7 +5301,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