mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 05:40:44 +00:00
- fixed: P_AimCamera inverted the pitch.
This commit is contained in:
parent
790e13e5cb
commit
a1c03c9a62
1 changed files with 1 additions and 1 deletions
|
@ -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) &&
|
||||
|
|
Loading…
Reference in a new issue