From d5c92bf725476087111a92f07825e0babea1fab9 Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 1 Jan 2024 21:27:29 -0800 Subject: [PATCH] Minimap: only show dot indicating player angle for local party players --- src/k_hud.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/k_hud.cpp b/src/k_hud.cpp index 50670abf7..c8ec4282d 100644 --- a/src/k_hud.cpp +++ b/src/k_hud.cpp @@ -4149,8 +4149,6 @@ static void K_drawKartMinimap(void) { for (i = MAXPLAYERS-1; i >= 0; i--) { - boolean nocontest = false; - if (!playeringame[i]) continue; if (!players[i].mo || players[i].spectator || !players[i].mo->skin @@ -4194,8 +4192,6 @@ static void K_drawKartMinimap(void) colormap = R_GetTranslationColormap(TC_DEFAULT, static_cast(mobj->color), GTC_CACHE); mobj = mobj->tracer; - - nocontest = true; } else { @@ -4227,23 +4223,6 @@ static void K_drawKartMinimap(void) { K_drawKartMinimapIcon(interpx, interpy, x, y, splitflags, kp_wantedreticle, NULL); } - - if (!nocontest) - { - angle_t ang = R_InterpolateAngle(mobj->old_angle, mobj->angle); - if (encoremode) - ang = ANGLE_180 - ang; - - K_drawKartMinimapIcon( - interpx, - interpy, - x + FixedMul(FCOS(ang), ICON_DOT_RADIUS), - y - FixedMul(FSIN(ang), ICON_DOT_RADIUS), - splitflags, - kp_minimapdot, - colormap - ); - } } else {