mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 13:10:55 +00:00
The dashmode struct variable now has a cap, per a Wolfs request.
This commit is contained in:
parent
64ef2798a2
commit
c5ca1a8f24
1 changed files with 14 additions and 12 deletions
|
@ -9201,6 +9201,8 @@ void P_PlayerThink(player_t *player)
|
|||
player->jumpfactor = player->jumpfactor + 1*FRACUNIT/300;
|
||||
}
|
||||
|
||||
dashmode = min(dashmode, 3*TICRATE + 3);
|
||||
|
||||
if (player->normalspeed >= skins[player->skin].actionspd)
|
||||
{
|
||||
mobj_t *ghost = P_SpawnGhostMobj(player->mo); // Spawns afterimages
|
||||
|
|
Loading…
Reference in a new issue