Award rings from itemboxes in itembreaker
This commit is contained in:
parent
722016f662
commit
2871260bc3
1 changed files with 2 additions and 1 deletions
|
|
@ -10619,12 +10619,13 @@ void A_ItemPop(mobj_t *actor)
|
|||
}
|
||||
else if (itembreaker)
|
||||
{
|
||||
K_AwardScaledPlayerRings(actor->target->player, ASR_ITEMBOX);
|
||||
|
||||
if (numgotboxes < 3)
|
||||
{
|
||||
actor->target->player->itemtype = KITEM_POGOSPRING;
|
||||
actor->target->player->itemamount += 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
remains->flags2 &= ~MF2_AMBUSH;
|
||||
|
|
|
|||
Loading…
Reference in a new issue