diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-06 01:42:22 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-06 01:42:22 +0200 |
commit | fe2ae13c80024e5167abbbbb6ab130126ab26951 (patch) | |
tree | 03d9758ae66e87e0163f07f21f761438fda592f9 /src | |
parent | Fixed CCamera::SetWideScreenOff dupe, removed goto in CStreaming::RetryLoadFile (diff) | |
download | re3-fe2ae13c80024e5167abbbbb6ab130126ab26951.tar re3-fe2ae13c80024e5167abbbbb6ab130126ab26951.tar.gz re3-fe2ae13c80024e5167abbbbb6ab130126ab26951.tar.bz2 re3-fe2ae13c80024e5167abbbbb6ab130126ab26951.tar.lz re3-fe2ae13c80024e5167abbbbb6ab130126ab26951.tar.xz re3-fe2ae13c80024e5167abbbbb6ab130126ab26951.tar.zst re3-fe2ae13c80024e5167abbbbb6ab130126ab26951.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Radar.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp index ebb71f5f..0d6cbc82 100644 --- a/src/core/Radar.cpp +++ b/src/core/Radar.cpp @@ -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()); |