diff --git a/src/k_kart.c b/src/k_kart.c index 19e4fafe1..0a15189a1 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -10588,7 +10588,7 @@ static void K_drawKartPlayerCheck(void) } } -static void K_drawKartMinimapIcon(fixed_t objx, fixed_t objy, INT32 hudx, INT32 hudy, INT32 flags, INT32 blend, patch_t *icon, UINT8 *colormap, drawinfo_t *dims) +static void K_drawKartMinimapIcon(fixed_t objx, fixed_t objy, INT32 hudx, INT32 hudy, INT32 flags, INT32 blend, patch_t *icon, UINT8 *colormap, drawinfo_t *dims, boolean scaleme) { // amnum xpos & ypos are the icon's speed around the HUD. // The number being divided by is for how fast it moves. @@ -10623,19 +10623,19 @@ static void K_drawKartMinimapIcon(fixed_t objx, fixed_t objy, INT32 hudx, INT32 } else { - w = SHORT(icon->width); - h = SHORT(icon->height); + w = icon->width; + h = icon->height; } - amxpos = amnumxpos + ((hudx + (SHORT(AutomapPic->width)-w)/2)<height)-h)/2)<width-w)/2)<height-h)/2)<width / 4)<height / 4)<