summaryrefslogtreecommitdiffstats
path: root/src/core/Radar.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-04-11 23:57:46 +0200
committerGitHub <noreply@github.com>2020-04-11 23:57:46 +0200
commit207aebc46c261df1e0b22df6d4e592ff348458ce (patch)
treeda8c68bafb71b162406337baac07666f7a6cf90f /src/core/Radar.cpp
parentMerge pull request #404 from Sergeanur/rwlink (diff)
parentCMenuManager done and CHud fixes (diff)
downloadre3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.gz
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.bz2
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.lz
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.xz
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.zst
re3-207aebc46c261df1e0b22df6d4e592ff348458ce.zip
Diffstat (limited to '')
-rw-r--r--src/core/Radar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp
index 994c94ca..154e7e9a 100644
--- a/src/core/Radar.cpp
+++ b/src/core/Radar.cpp
@@ -1412,8 +1412,8 @@ CRadar::DrawYouAreHereSprite(float x, float y)
}
} else {
if (CTimer::GetTimeInMillisecondsPauseMode() - lastChange > 200) {
- lastChange = CTimer::GetTimeInMillisecondsPauseMode();
- show = !show;
+ lastChange = CTimer::GetTimeInMillisecondsPauseMode();
+ show = !show;
}
}
@@ -1422,7 +1422,7 @@ CRadar::DrawYouAreHereSprite(float x, float y)
float top = y - SCREEN_SCALE_Y(2.0f);
float right = SCREEN_SCALE_X(12.0) + x;
float bottom = y - SCREEN_SCALE_Y(26.0f);
- CentreSprite.Draw(CRect(left, top, right, bottom), CRGBA(255, 217, 106, 255));
+ CentreSprite.Draw(CRect(left, top, right, bottom), CRGBA(255, 255, 255, 255));
}
MapLegendList[MapLegendCounter++] = RADAR_SPRITE_CENTRE;
}
@@ -1503,4 +1503,4 @@ STARTPATCHES
InjectHook(0x4A6F30, CRadar::LoadAllRadarBlips, PATCH_JUMP);
//InjectHook(0x4A7000, `global constructor keyed to'Radar.cpp, PATCH_JUMP);
//InjectHook(0x4A7260, sRadarTrace::sRadarTrace, PATCH_JUMP);
-ENDPATCHES
+ENDPATCHES \ No newline at end of file