Minimap offset support

This commit is contained in:
TehRealSalt 2018-06-04 16:19:36 -04:00
parent 09311bf061
commit ae66a8f769

View file

@ -4774,6 +4774,13 @@ static void K_drawKartMinimap(void)
splitflags |= V_HUDTRANSHALF;
}
// let offsets transfer to the heads, too!
if (mirrormode)
x += SHORT(AutomapPic->leftoffset);
else
x -= SHORT(AutomapPic->leftoffset);
y -= SHORT(AutomapPic->topoffset);
// Player's tiny icons on the Automap.
for (i = 0; i < MAXPLAYERS; i++)
{