From cb2bbf51459b65a856f3a9533ab9885f440e2df4 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Tue, 15 Jul 2025 10:14:41 -0400 Subject: [PATCH] Make bots and external players transparent again and fix disappear minimap player breaking --- src/k_hud.c | 8 +++++++- src/p_map.c | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/k_hud.c b/src/k_hud.c index 76512b350..3857cf159 100644 --- a/src/k_hud.c +++ b/src/k_hud.c @@ -3642,7 +3642,7 @@ static void K_drawKartMinimap(void) if (!playeringame[i]) continue; - if (!players[i].mo || players[i].spectator || !players[i].mo->skin || (!cv_showfinishedplayers.value && stplyr->exiting)) + if (!players[i].mo || players[i].spectator || !players[i].mo->skin || (!cv_showfinishedplayers.value && players[i].exiting)) continue; if (i == displayplayers[0] || i == displayplayers[1] || i == displayplayers[2] || i == displayplayers[3]) @@ -3702,6 +3702,12 @@ static void K_drawKartMinimap(void) //if (doprogressionbar == false) { + // draw external players transparent + if (mobj->player) + { + splitflags &= ~V_HUDTRANS; + splitflags |= V_HUDTRANSHALF; + } interpx = R_InterpolateFixed(mobj->old_x, mobj->x); interpy = R_InterpolateFixed(mobj->old_y, mobj->y); diff --git a/src/p_map.c b/src/p_map.c index 9a8573c17..4f919ea75 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -2042,7 +2042,7 @@ boolean P_CheckPosition(mobj_t *thing, fixed_t x, fixed_t y, TryMoveResult_t *re // MF_NOCLIPTHING: used by camera to not be blocked by things // Respawning things should also be intangible to other things - if (!(thing->flags & MF_NOCLIPTHING) /*&& !P_MobjIsReappearing(thing)*/) + if (!(thing->flags & MF_NOCLIPTHING)) { for (bx = xl; bx <= xh; bx++) {