summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-02 22:49:57 +0200
committeraap <aap@papnet.eu>2020-06-02 22:49:57 +0200
commit2e3cb77702733edc83a99a23bccf94aae009dcf5 (patch)
tree56a737e7f9aec075ce406ebeedb7debd09d1f690 /src/render
parentfew bike things (diff)
downloadre3-2e3cb77702733edc83a99a23bccf94aae009dcf5.tar
re3-2e3cb77702733edc83a99a23bccf94aae009dcf5.tar.gz
re3-2e3cb77702733edc83a99a23bccf94aae009dcf5.tar.bz2
re3-2e3cb77702733edc83a99a23bccf94aae009dcf5.tar.lz
re3-2e3cb77702733edc83a99a23bccf94aae009dcf5.tar.xz
re3-2e3cb77702733edc83a99a23bccf94aae009dcf5.tar.zst
re3-2e3cb77702733edc83a99a23bccf94aae009dcf5.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Hud.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index 85d30216..94899ce7 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -920,16 +920,10 @@ void CHud::Draw()
rect.Translate(RADAR_LEFT, SCREEN_SCALE_FROM_BOTTOM(RADAR_BOTTOM + RADAR_HEIGHT));
#endif
- // shadow, might not be exactly accurate numbers
- rect.Translate(0.f, 4.f);
rect.Grow(6.0f);
- rect.top += 2.f;
- rect.bottom -= 2.f;
+ rect.Translate(0.0f, 2.0f);
Sprites[HUD_RADARDISC].Draw(rect, CRGBA(0, 0, 0, 255));
-
- rect.Translate(0.f, -4.f);
- rect.top -= 2.f;
- rect.bottom += 2.f;
+ rect.Translate(0.0f, -2.0f);
Sprites[HUD_RADARDISC].Draw(rect, RADARDISC_COLOR);
CRadar::DrawBlips();
}