From 822cda652b082ab6c817c022f39f958e34964455 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 13 Mar 2017 10:03:42 +0100 Subject: [PATCH] - fixed: A_FireProjectile was still using the inverted pitch from A_FireCustomMissile it was supposed to correct. --- 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 efec8adc29..06d92cdc8c 100644 --- a/src/p_actionfunctions.cpp +++ b/src/p_actionfunctions.cpp @@ -1899,7 +1899,7 @@ DEFINE_ACTION_FUNCTION(AStateProvider, A_FireProjectile) // Temporarily adjusts the pitch DAngle saved_player_pitch = self->Angles.Pitch; - self->Angles.Pitch -= pitch; + self->Angles.Pitch += pitch; AActor * misl=P_SpawnPlayerMissile (self, ofs.X, ofs.Y, spawnheight, ti, shootangle, &t, NULL, false, (flags & FPF_NOAUTOAIM) != 0); self->Angles.Pitch = saved_player_pitch;