summaryrefslogtreecommitdiff
path: root/src/item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.c')
-rw-r--r--src/item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/item.c b/src/item.c
index 467117d..171ac76 100644
--- a/src/item.c
+++ b/src/item.c
@@ -610,7 +610,7 @@ void eventGiveTuxItem(tux_t *tux, item_t *item, space_t *spaceItem)
case GUN_MINE :
case GUN_BOMBBALL :
tuxGiveGun(tux, item);
- delObjectFromSpace(spaceItem, item);
+ delObjectFromSpaceWithObject(spaceItem, item, destroyItem);
break;
case ITEM_MINE :
@@ -632,7 +632,7 @@ void eventGiveTuxItem(tux_t *tux, item_t *item, space_t *spaceItem)
case BONUS_4X :
case BONUS_HIDDEN :
tuxGiveBonus(tux, item);
- delObjectFromSpace(spaceItem, item);
+ delObjectFromSpaceWithObject(spaceItem, item, destroyItem);
break;
}
}