- fixed the broken alignment between lines and sectors on the Shadow Warrior automap.

This commit is contained in:
Christoph Oelckers 2019-12-31 22:11:04 +01:00
parent 9543c2cbb9
commit f106505344

View file

@ -3499,6 +3499,9 @@ void drawoverheadmap(int cposx, int cposy, int czoom, short cang)
SWBOOL sprisplayer = FALSE; SWBOOL sprisplayer = FALSE;
short txt_x, txt_y; short txt_x, txt_y;
int32_t tmpydim = (xdim * 5) / 8;
renderSetAspect(65536, divscale16(tmpydim * 320, xdim * 200));
// draw location text // draw location text
if (gs.BorderNum <= BORDER_BAR-1) if (gs.BorderNum <= BORDER_BAR-1)
{ {
@ -3818,6 +3821,8 @@ SHOWSPRITE:
} }
} }
videoSetCorrectedAspect();
} }