mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Merge branch 'facing-forwards' into 'next'
Don't modify drawangle when taking damage in strafe mode See merge request STJr/SRB2!1689
This commit is contained in:
commit
ff57a983d7
1 changed files with 2 additions and 1 deletions
|
@ -1048,6 +1048,7 @@ void P_DoPlayerPain(player_t *player, mobj_t *source, mobj_t *inflictor)
|
|||
fallbackspeed = FixedMul(4*FRACUNIT, player->mo->scale);
|
||||
}
|
||||
|
||||
if (player->pflags & PF_DIRECTIONCHAR)
|
||||
player->drawangle = ang + ANGLE_180;
|
||||
P_InstaThrust(player->mo, ang, fallbackspeed);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue