Fixed: A_CustomMissile's CMF_AIMDIRECTION's pitch calculations were also backwards.

This commit is contained in:
Major Cooke 2016-12-09 09:18:57 -06:00 committed by Christoph Oelckers
parent c7cddcac0b
commit b17bd65279

View file

@ -1524,7 +1524,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_CustomMissile)
Pitch += missile->Vel.Pitch();
}
missilespeed = fabs(Pitch.Cos() * missile->Speed);
missile->Vel.Z = Pitch.Sin() * missile->Speed;
missile->Vel.Z = -Pitch.Sin() * missile->Speed;
}
else
{