- fixed: P_AimCamera inverted the pitch.

This commit is contained in:
Christoph Oelckers 2016-04-07 12:44:46 +02:00
parent 790e13e5cb
commit a1c03c9a62

View file

@ -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<double>(chase_height, -1000, 1000);
if (Trace(t1->PosAtZ(sz), t1->Sector, vvec, distance, 0, 0, NULL, trace) &&