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:
sphere 2022-01-30 13:32:30 +00:00
commit ff57a983d7

View file

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