From 2e3cb77702733edc83a99a23bccf94aae009dcf5 Mon Sep 17 00:00:00 2001 From: aap Date: Tue, 2 Jun 2020 22:49:57 +0200 Subject: fixed radar rendering --- src/render/Hud.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/render') 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(); } -- cgit v1.2.3