mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-03-26 12:51:28 +00:00
Minimap offset support
This commit is contained in:
parent
09311bf061
commit
ae66a8f769
1 changed files with 7 additions and 0 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue