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 fdd0ad3..2ec126d 100644
--- a/src/item.c
+++ b/src/item.c
@@ -328,7 +328,7 @@ void eventListItem(space_t *spaceItem)
case ITEM_BIG_EXPLOSION :
if( thisItem->frame == ITEM_EXPLOSION_MAX_FRAME )
{
- delObjectFromSpaceWithMem(spaceItem, thisItem, destroyItem);
+ delObjectFromSpaceWithObject(spaceItem, thisItem, destroyItem);
i--;
}
break;
@@ -398,7 +398,7 @@ void mineExplosion(space_t *spaceItem, item_t *item)
addObjectToSpace(spaceItem, item_explosion );
}
- delObjectFromSpaceWithMem(spaceItem, item, destroyItem);
+ delObjectFromSpaceWithObject(spaceItem, item, destroyItem);
}
/*