summaryrefslogtreecommitdiffstats
path: root/src/core/Radar.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-17 20:06:25 +0100
committerGitHub <noreply@github.com>2021-01-17 20:06:25 +0100
commit2b4b00b3884334d0305675eef9879b72af4fb46c (patch)
tree41d40b9630c8affb2860fdc8906eed0fb56c8ec0 /src/core/Radar.cpp
parentvehicle fixes (diff)
parentadd the bad crack "features" behind SECUROM define (diff)
downloadre3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar
re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar.gz
re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar.bz2
re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar.lz
re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar.xz
re3-2b4b00b3884334d0305675eef9879b72af4fb46c.tar.zst
re3-2b4b00b3884334d0305675eef9879b72af4fb46c.zip
Diffstat (limited to 'src/core/Radar.cpp')
-rw-r--r--src/core/Radar.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp
index 8fe900ae..6fbc2280 100644
--- a/src/core/Radar.cpp
+++ b/src/core/Radar.cpp
@@ -476,6 +476,10 @@ void CRadar::Draw3dMarkers()
void CRadar::DrawBlips()
{
if (!TheCamera.m_WideScreenOn && CHud::m_Wants_To_Draw_Hud) {
+#ifdef SECUROM
+ extern uint8 roadBlocksPirateCheck;
+ if (roadBlocksPirateCheck == 2) return;
+#endif
RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, (void*)FALSE);
RwRenderStateSet(rwRENDERSTATEZTESTENABLE, (void*)FALSE);
RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void*)TRUE);