- Exhumed: Properly clamp off pitch in death function.

This commit is contained in:
Mitchell Richters 2023-03-25 17:27:33 +11:00
parent 025f2ec5fb
commit e34c4353f6

View file

@ -1771,7 +1771,7 @@ static void doPlayerDeathPitch(Player* const pPlayer)
if (pPlayerActor->spr.Angles.Pitch.Degrees() <= -38)
{
pPlayerActor->spr.Angles.Pitch = DAngle::fromDeg(-37.72);
pPlayerActor->spr.Angles.Pitch = DAngle::fromDeg(-38);
}
else if (pPlayerActor->spr.Angles.Pitch.Sgn() >= 0)
{