From a729bfe7ee40dab43e75166b1f750d27c359b1b6 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 26 Feb 2018 08:19:21 +0000 Subject: [PATCH] Anchor radar at bottom of map. --- src/world/radar.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/world/radar.c b/src/world/radar.c index 353a17c..e17d47e 100644 --- a/src/world/radar.c +++ b/src/world/radar.c @@ -64,6 +64,11 @@ void initRadar(void) viewRect.x = limit(viewRect.x, limits.x, limits.w); viewRect.y = limit(viewRect.y, limits.y, limits.h); + + if (viewRect.y > limits.h) + { + viewRect.y -= (viewRect.y - limits.h); + } blinkTimer = 0;