mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
- fixed handling of automap sprites with negative scale.
This commit is contained in:
parent
dce6456994
commit
77a4bc16cf
1 changed files with 5 additions and 0 deletions
|
@ -3025,6 +3025,11 @@ void DAutomap::DrawMarker (FGameTexture *tex, double x, double y, int yadjust,
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (xscale < 0)
|
||||||
|
{
|
||||||
|
flip = !flip;
|
||||||
|
xscale = -xscale;
|
||||||
|
}
|
||||||
if (am_rotate == 1 || (am_rotate == 2 && viewactive))
|
if (am_rotate == 1 || (am_rotate == 2 && viewactive))
|
||||||
{
|
{
|
||||||
rotatePoint (&x, &y);
|
rotatePoint (&x, &y);
|
||||||
|
|
Loading…
Reference in a new issue