- fixed: AimBulletMissile used negative pitch to calculate the projectile's trajectory, presumably because A_Face calculated it wrong in recent devbuilds.

This commit is contained in:
Christoph Oelckers 2016-12-24 15:10:07 +01:00
parent d4c0ee9e43
commit b807f50bde

View file

@ -1833,7 +1833,7 @@ static void AimBulletMissile(AActor *proj, AActor *puff, int flags, bool temp, b
// Aim for the base of the puff as that's where blood puffs will spawn... roughly. // Aim for the base of the puff as that's where blood puffs will spawn... roughly.
A_Face(proj, puff, 0., 0., 0., 0., 1); A_Face(proj, puff, 0., 0., 0., 0., 1);
proj->Vel3DFromAngle(-proj->Angles.Pitch, proj->Speed); proj->Vel3DFromAngle(proj->Angles.Pitch, proj->Speed);
if (!temp) if (!temp)
{ {