From a1c03c9a62d1b44e50323c8cd1b9c87fcaa44653 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 7 Apr 2016 12:44:46 +0200 Subject: [PATCH] - fixed: P_AimCamera inverted the pitch. --- src/p_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index 26c08af260..8fbbb3e99a 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -4689,7 +4689,7 @@ void P_AimCamera(AActor *t1, DVector3 &campos, sector_t *&CameraSector, bool &un double pc = pitch.Cos(); - vvec = { pc * angle.Cos(), pc * angle.Sin(), -pitch.Sin() }; + vvec = { pc * angle.Cos(), pc * angle.Sin(), pitch.Sin() }; sz = t1->Top() - t1->Floorclip + clamp(chase_height, -1000, 1000); if (Trace(t1->PosAtZ(sz), t1->Sector, vvec, distance, 0, 0, NULL, trace) &&