From 5a8eab9513e0375756cec878f0e93f718820dfb1 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Mon, 4 Jun 2018 16:19:36 -0400 Subject: [PATCH] Minimap offset support --- src/k_kart.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/k_kart.c b/src/k_kart.c index 88a9f7ff3..9461cd467 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -4774,6 +4774,13 @@ static void K_drawKartMinimap(void) splitflags |= V_HUDTRANSHALF; } + // let offsets transfer to the heads, too! + if (mirrormode) + x += SHORT(AutomapPic->leftoffset); + else + x -= SHORT(AutomapPic->leftoffset); + y -= SHORT(AutomapPic->topoffset); + // Player's tiny icons on the Automap. for (i = 0; i < MAXPLAYERS; i++) {