- fixed handling of automap sprites with negative scale.

This commit is contained in:
Christoph Oelckers 2022-05-23 00:08:33 +02:00
parent dce6456994
commit 77a4bc16cf
1 changed files with 5 additions and 0 deletions

View File

@ -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);