Just in case lua sets it and bypasses the alt item system
This commit is contained in:
parent
df3209281e
commit
f8316526ee
1 changed files with 3 additions and 3 deletions
|
|
@ -1410,7 +1410,7 @@ static void K_drawKartItem(void)
|
|||
|
||||
if (leveltime & 1)
|
||||
{
|
||||
localpatch = K_GetCachedItemPatchEx(KITEM_INVINCIBILITY, tiny, 0, K_IsKartItemAlternate(KITEM_INVINCIBILITY));
|
||||
localpatch = K_GetCachedItemPatchEx(KITEM_INVINCIBILITY, tiny, 0, 1);
|
||||
}
|
||||
else
|
||||
localpatch = kp_nodraw;
|
||||
|
|
@ -3527,11 +3527,11 @@ static void K_drawKartPlayerCheck(void)
|
|||
{
|
||||
pnum += 4;
|
||||
}
|
||||
else if (!K_IsKartItemAlternate(KITEM_INVINCIBILITY) && (checkplayer->itemtype == KITEM_INVINCIBILITY || checkplayer->invincibilitytimer))
|
||||
else if ((!K_IsKartItemAlternate(KITEM_INVINCIBILITY) && checkplayer->itemtype == KITEM_INVINCIBILITY) || checkplayer->invincibilitytimer)
|
||||
{
|
||||
pnum += 2;
|
||||
}
|
||||
else if (K_IsKartItemAlternate(KITEM_INVINCIBILITY) && (checkplayer->itemtype == KITEM_INVINCIBILITY || checkplayer->smonitortimer))
|
||||
else if ((K_IsKartItemAlternate(KITEM_INVINCIBILITY) && checkplayer->itemtype == KITEM_INVINCIBILITY) || checkplayer->smonitortimer)
|
||||
{
|
||||
// FIXME: Separate "CHECK" icon(?)
|
||||
pnum += 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue