diff options
author | aap <aap@papnet.eu> | 2019-07-03 13:13:55 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-03 13:13:55 +0200 |
commit | 25865e68c4c87cfe3cf63c8721f3d0ec8dfca35c (patch) | |
tree | 32f12eb5067af7c6ec08d16b2675a426096a9ad9 /src/render/Hud.cpp | |
parent | Merge pull request #90 from GTAmodding/revert-88-master (diff) | |
download | re3-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.cpp | 4 |
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(); |