diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-01 21:48:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-01 21:48:48 +0100 |
commit | f72453d03e7758074b9dd388ace6d651b45ec3d9 (patch) | |
tree | 9aca5ab7ac4f3631691701a78b2a704cea4a1f6d /src/core/Radar.cpp | |
parent | Merge pull request #339 from erorcun/erorcun (diff) | |
parent | review fixes (diff) | |
download | re3-f72453d03e7758074b9dd388ace6d651b45ec3d9.tar re3-f72453d03e7758074b9dd388ace6d651b45ec3d9.tar.gz re3-f72453d03e7758074b9dd388ace6d651b45ec3d9.tar.bz2 re3-f72453d03e7758074b9dd388ace6d651b45ec3d9.tar.lz re3-f72453d03e7758074b9dd388ace6d651b45ec3d9.tar.xz re3-f72453d03e7758074b9dd388ace6d651b45ec3d9.tar.zst re3-f72453d03e7758074b9dd388ace6d651b45ec3d9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Radar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp index ab7de13e..6a1446da 100644 --- a/src/core/Radar.cpp +++ b/src/core/Radar.cpp @@ -325,7 +325,7 @@ void CRadar::DrawBlips() if (blipEntity) { uint32 color = GetRadarTraceColour(ms_RadarTrace[blipId].m_nColor, ms_RadarTrace[blipId].m_bDim); if (ms_RadarTrace[blipId].m_eBlipDisplay == BLIP_DISPLAY_BOTH || ms_RadarTrace[blipId].m_eBlipDisplay == BLIP_DISPLAY_MARKER_ONLY) { - if (CTheScripts::DbgFlag) { + if (CTheScripts::IsDebugOn()) { ShowRadarMarker(blipEntity->GetPosition(), color, ms_RadarTrace[blipId].m_Radius); ms_RadarTrace[blipId].m_Radius = ms_RadarTrace[blipId].m_Radius - 0.1f; if (ms_RadarTrace[blipId].m_Radius < 1.0f) @@ -364,7 +364,7 @@ void CRadar::DrawBlips() uint32 color = GetRadarTraceColour(ms_RadarTrace[blipId].m_nColor, ms_RadarTrace[blipId].m_bDim); if (ms_RadarTrace[blipId].m_eBlipDisplay == BLIP_DISPLAY_BOTH || ms_RadarTrace[blipId].m_eBlipDisplay == BLIP_DISPLAY_MARKER_ONLY) { - if (CTheScripts::DbgFlag) { + if (CTheScripts::IsDebugOn()) { ShowRadarMarker(ms_RadarTrace[blipId].m_vecPos, color, ms_RadarTrace[blipId].m_Radius); ms_RadarTrace[blipId].m_Radius = ms_RadarTrace[blipId].m_Radius - 0.1f; if (ms_RadarTrace[blipId].m_Radius < 1.0f) @@ -429,7 +429,7 @@ void CRadar::DrawBlips() if (blipEntity) { uint32 color = GetRadarTraceColour(ms_RadarTrace[blipId].m_nColor, ms_RadarTrace[blipId].m_bDim); if (ms_RadarTrace[blipId].m_eBlipDisplay == BLIP_DISPLAY_BOTH || ms_RadarTrace[blipId].m_eBlipDisplay == BLIP_DISPLAY_MARKER_ONLY) { - if (CTheScripts::DbgFlag) { + if (CTheScripts::IsDebugOn()) { ShowRadarMarker(blipEntity->GetPosition(), color, ms_RadarTrace[blipId].m_Radius); ms_RadarTrace[blipId].m_Radius = ms_RadarTrace[blipId].m_Radius - 0.1f; if (ms_RadarTrace[blipId].m_Radius < 1.0f) @@ -478,7 +478,7 @@ void CRadar::DrawBlips() uint32 color = GetRadarTraceColour(ms_RadarTrace[blipId].m_nColor, ms_RadarTrace[blipId].m_bDim); if (ms_RadarTrace[blipId].m_eBlipDisplay == BLIP_DISPLAY_BOTH || ms_RadarTrace[blipId].m_eBlipDisplay == BLIP_DISPLAY_MARKER_ONLY) { - if (CTheScripts::DbgFlag) { + if (CTheScripts::IsDebugOn()) { ShowRadarMarker(ms_RadarTrace[blipId].m_vecPos, color, ms_RadarTrace[blipId].m_Radius); ms_RadarTrace[blipId].m_Radius = ms_RadarTrace[blipId].m_Radius - 0.1f; if (ms_RadarTrace[blipId].m_Radius < 1.0f) |