Flash Bubbleshield if throw is happening soon
This commit is contained in:
parent
31fbfdc512
commit
94dc69ab93
2 changed files with 8 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ void K_UpdateMatchRaceBots(void)
|
|||
{
|
||||
UINT8 index = P_RandomKey(usableskins);
|
||||
skinnum = grabskins[index];
|
||||
if (((cv_ingamecap.value > 0) && (usableskins >= cv_ingamecap.value)) || (usableskins >= cv_maxplayers.value))
|
||||
if (((cv_ingamecap.value > 0) && (usableskins+1 >= cv_ingamecap.value)) || (usableskins+1 >= cv_maxplayers.value))
|
||||
{
|
||||
grabskins[index] = grabskins[--usableskins];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1003,6 +1003,13 @@ static void K_drawKartItem(void)
|
|||
else if (stplyr->curshield == KSHIELD_BUBBLE)
|
||||
{
|
||||
localpatch = kp_bubbleshield[offset];
|
||||
|
||||
if ((stplyr->bubbleblowup > bubbletime) && (leveltime & 1))
|
||||
{
|
||||
colormode = TC_BLINK;
|
||||
localcolor = SKINCOLOR_WHITE;
|
||||
}
|
||||
|
||||
itembar = 2 - stplyr->bubblepop;
|
||||
maxl = 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue