mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-12 22:02:12 +00:00
Fix jet fume crash when dashmode is above DASHMODE_MAX
I would like to use higher dashmode values for extra leniency, the jet fume kicks and screams when this happens.
This commit is contained in:
parent
5f4e21ed3a
commit
3dd04b90c6
1 changed files with 1 additions and 1 deletions
|
@ -11310,7 +11310,7 @@ static void P_DoMetalJetFume(player_t *player, mobj_t *fume)
|
|||
angle_t angle = player->drawangle;
|
||||
fixed_t dist;
|
||||
panim_t panim = player->panim;
|
||||
tic_t dashmode = player->dashmode;
|
||||
tic_t dashmode = min(player->dashmode, DASHMODE_MAX);
|
||||
boolean underwater = mo->eflags & MFE_UNDERWATER;
|
||||
statenum_t stat = fume->state-states;
|
||||
|
||||
|
|
Loading…
Reference in a new issue