From d2d960672ce665fd073bd3fa9ce470802ab4dfd9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 11 Dec 2016 11:39:46 +0100 Subject: [PATCH] Revert "Fixed: A_CustomMissile's CMF_AIMDIRECTION's pitch calculations were also backwards." This reverts commit b17bd65279d39ceb0c61453e38fe02f4768f161e. This would break too many existing mods. --- src/p_actionfunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_actionfunctions.cpp b/src/p_actionfunctions.cpp index f1b4fee802..6ddfd52819 100644 --- a/src/p_actionfunctions.cpp +++ b/src/p_actionfunctions.cpp @@ -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 {