summaryrefslogtreecommitdiffstats
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-03 13:13:55 +0200
committeraap <aap@papnet.eu>2019-07-03 13:13:55 +0200
commit25865e68c4c87cfe3cf63c8721f3d0ec8dfca35c (patch)
tree32f12eb5067af7c6ec08d16b2675a426096a9ad9 /src/render/Hud.cpp
parentMerge pull request #90 from GTAmodding/revert-88-master (diff)
downloadre3-25865e68c4c87cfe3cf63c8721f3d0ec8dfca35c.tar
re3-25865e68c4c87cfe3cf63c8721f3d0ec8dfca35c.tar.gz
re3-25865e68c4c87cfe3cf63c8721f3d0ec8dfca35c.tar.bz2
re3-25865e68c4c87cfe3cf63c8721f3d0ec8dfca35c.tar.lz
re3-25865e68c4c87cfe3cf63c8721f3d0ec8dfca35c.tar.xz
re3-25865e68c4c87cfe3cf63c8721f3d0ec8dfca35c.tar.zst
re3-25865e68c4c87cfe3cf63c8721f3d0ec8dfca35c.zip
Diffstat (limited to '')
-rw-r--r--src/render/Hud.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index 2547ab2b..e5a44221 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -787,8 +787,8 @@ void CHud::Draw()
if (m_ItemToFlash == ITEM_RADAR && CTimer::GetFrameCounter() & 8 || m_ItemToFlash != ITEM_RADAR) {
CRadar::DrawMap();
CRect rect(0.0f, 0.0f, SCREEN_SCALE_X(RADAR_WIDTH), SCREEN_SCALE_Y(RADAR_HEIGHT));
- // FIX: game doesn't scale RADAR_LEFT here
- rect.Translate(SCREEN_SCALE_X(RADAR_LEFT), SCREEN_SCALE_FROM_BOTTOM(RADAR_BOTTOM + RADAR_HEIGHT));
+ // FIX? scale RADAR_LEFT here somehow
+ rect.Translate(RADAR_LEFT, SCREEN_SCALE_FROM_BOTTOM(RADAR_BOTTOM + RADAR_HEIGHT));
rect.Grow(4.0f);
Sprites[HUD_RADARDISC].Draw(rect, CRGBA(0, 0, 0, 255));
CRadar::DrawBlips();