mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
K_DrawKartMinimap: Bugfixes to NO CONTEST X
- Fix Race NO CONTEST X not being colormapped - Fix non-local players not being NO CONTEST X-ified
This commit is contained in:
parent
6b2558c43e
commit
ba3e6765ef
1 changed files with 3 additions and 3 deletions
|
|
@ -3781,7 +3781,7 @@ static void K_drawKartMinimap(void)
|
|||
if (mobj->health <= 0 && (players[i].pflags & PF_NOCONTEST))
|
||||
{
|
||||
workingPic = kp_nocontestminimap;
|
||||
R_GetTranslationColormap(0, mobj->color, GTC_CACHE);
|
||||
colormap = R_GetTranslationColormap(0, mobj->color, GTC_CACHE);
|
||||
|
||||
if (mobj->tracer && !P_MobjWasRemoved(mobj->tracer))
|
||||
mobj = mobj->tracer;
|
||||
|
|
@ -3806,7 +3806,7 @@ static void K_drawKartMinimap(void)
|
|||
interpx = R_InterpolateFixed(mobj->old_x, mobj->x);
|
||||
interpy = R_InterpolateFixed(mobj->old_y, mobj->y);
|
||||
|
||||
K_drawKartMinimapIcon(interpx, interpy, x, y, splitflags, faceprefix[skin][FACE_MINIMAP], colormap);
|
||||
K_drawKartMinimapIcon(interpx, interpy, x, y, splitflags, workingPic, colormap);
|
||||
|
||||
// Target reticule
|
||||
if (((gametyperules & GTR_CIRCUIT) && players[i].position == spbplace)
|
||||
|
|
@ -3912,7 +3912,7 @@ static void K_drawKartMinimap(void)
|
|||
if (mobj->health <= 0 && (players[localplayers[i]].pflags & PF_NOCONTEST))
|
||||
{
|
||||
workingPic = kp_nocontestminimap;
|
||||
R_GetTranslationColormap(0, mobj->color, GTC_CACHE);
|
||||
colormap = R_GetTranslationColormap(0, mobj->color, GTC_CACHE);
|
||||
|
||||
if (mobj->tracer && !P_MobjWasRemoved(mobj->tracer))
|
||||
mobj = mobj->tracer;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue