From 62fa1777dd6b7d1b84f70f87a6266cb114953473 Mon Sep 17 00:00:00 2001 From: Chearii Date: Tue, 29 Apr 2025 16:20:54 -0400 Subject: [PATCH] ts pmo fr icl istg me when my code has to be robust!! (I also Forgot to remove the SHORT marcros oops!) --- src/k_kart.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) 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)<