mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 19:19:00 +00:00
Fixed player blip heading when looking left/right/behind
This commit is contained in:
parent
96eee4f10f
commit
fe2ae13c80
1 changed files with 4 additions and 0 deletions
|
@ -277,6 +277,10 @@ void CRadar::DrawBlips()
|
|||
float angle;
|
||||
if (TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_TOPDOWN1)
|
||||
angle = PI + FindPlayerHeading();
|
||||
#ifdef FIX_BUGS
|
||||
else if (TheCamera.GetLookDirection() != LOOKING_FORWARD)
|
||||
angle = FindPlayerHeading() - (PI + (TheCamera.Cams[TheCamera.ActiveCam].CamTargetEntity->GetPosition() - TheCamera.Cams[TheCamera.ActiveCam].SourceBeforeLookBehind).Heading());
|
||||
#endif
|
||||
else
|
||||
angle = FindPlayerHeading() - (PI + TheCamera.GetForward().Heading());
|
||||
|
||||
|
|
Loading…
Reference in a new issue