Make bots and external players transparent again and fix disappear minimap player breaking
This commit is contained in:
parent
245426b816
commit
cb2bbf5145
2 changed files with 8 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue