make eggmine SADs add to itemlist
This commit is contained in:
parent
cf3c123187
commit
382f1f1a82
1 changed files with 5 additions and 0 deletions
|
|
@ -2558,8 +2558,13 @@ void K_DoEggMineStrip(mobj_t *tmo, mobj_t *inflictor, mobj_t *source)
|
|||
{
|
||||
S_StartSound(tmo, sfx_bewar3);
|
||||
K_DropItems(tmo->player);
|
||||
|
||||
tmo->player->itemtype = MAXKARTITEMS; // aka KITEM_SAD
|
||||
tmo->player->itemamount = 1;
|
||||
|
||||
if (itemlistactive)
|
||||
K_AddItemRollToList((INT32)(tmo->player - players), MAXKARTITEMS, 1);
|
||||
|
||||
tmo->player->itemblink = TICRATE;
|
||||
tmo->player->itemblinkmode = KITEMBLINK_MASHED;
|
||||
K_SetPlayerItemCooldown(tmo->player, TICRATE, false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue