- 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
1 changed files with 5 additions and 0 deletions

View File

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