From 77a4bc16cfe2f185b85c63b3d0363a97a6bd1a99 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 23 May 2022 00:08:33 +0200 Subject: [PATCH] - fixed handling of automap sprites with negative scale. --- src/am_map.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/am_map.cpp b/src/am_map.cpp index 4259f0548b..491a5cbdfe 100644 --- a/src/am_map.cpp +++ b/src/am_map.cpp @@ -3025,6 +3025,11 @@ void DAutomap::DrawMarker (FGameTexture *tex, double x, double y, int yadjust, { return; } + if (xscale < 0) + { + flip = !flip; + xscale = -xscale; + } if (am_rotate == 1 || (am_rotate == 2 && viewactive)) { rotatePoint (&x, &y);