mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 03:30:50 +00:00
Set indirectitemcooldown for SPB/Shrink drops
This commit is contained in:
parent
e88dbedbc4
commit
be4fb2bcfb
1 changed files with 5 additions and 1 deletions
|
@ -7986,11 +7986,15 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
mobj->sprite = SPR_ITEM;
|
||||
mobj->frame = FF_FULLBRIGHT|FF_PAPERSPRITE;
|
||||
break;
|
||||
case KITEM_SPB:
|
||||
case KITEM_SHRINK:
|
||||
indirectitemcooldown = 20*TICRATE;
|
||||
/* FALLTHRU */
|
||||
default:
|
||||
mobj->sprite = SPR_ITEM;
|
||||
mobj->frame = FF_FULLBRIGHT|FF_PAPERSPRITE|(mobj->threshold);
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case MT_ORBINAUT:
|
||||
|
|
Loading…
Reference in a new issue