From 64b3abd2626f7ff76053217cdd423893db180896 Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Mon, 4 Oct 2021 13:30:16 +0700 Subject: [PATCH] fix automap marks in automapoverlay mode (#289) * fix am marks if followmode is off * add automapoverlay check --- Source/am_map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/am_map.c b/Source/am_map.c index bcfb98d9..1462d672 100644 --- a/Source/am_map.c +++ b/Source/am_map.c @@ -423,10 +423,10 @@ void AM_addMark(void) // [crispy] keep the map static in overlay mode // if not following the player - if (followplayer || !automapoverlay) + if (!followplayer && automapoverlay) { - markpoints[markpointnum].x = mapcenter.x; - markpoints[markpointnum].y = mapcenter.y; + markpoints[markpointnum].x = plr->mo->x; + markpoints[markpointnum].y = plr->mo->y; } else {