Slight headlight offset for small minimap players
This commit is contained in:
parent
f03a359de9
commit
500067bd99
1 changed files with 5 additions and 0 deletions
|
|
@ -3450,6 +3450,11 @@ static void K_drawKartMinimapHeadlight(fixed_t objx, fixed_t objy, INT32 hudx, I
|
|||
amxpos = amnumxpos + ((hudx + (SHORT(minimapinfo.minimap_pic->width)-48)/2)<<FRACBITS);
|
||||
amypos = amnumypos + ((hudy + (SHORT(minimapinfo.minimap_pic->height)-24)/2)<<FRACBITS);
|
||||
|
||||
if (cv_minihead.value)
|
||||
{
|
||||
amxpos -= 1 * FRACUNIT;
|
||||
}
|
||||
|
||||
V_DrawFixedPatch(amxpos, amypos, scale, flags|V_ADD, icon, colormap);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue