diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-20 20:16:44 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-20 20:16:44 +0000 |
| commit | 7af32f143eb8615163e1bc78a417434e18da0e71 (patch) | |
| tree | 815f50fe8d0a5f1296436509d5d9f7b9bd7be094 /src/item.c | |
| parent | a370d2f5860a0f89ac44af857d1059885ad1d60f (diff) | |
- oprava chyb s pamatov
- vyhladavanie objetku podla jeho ID ma konecne casovu narocnost log(2,n)
git-svn-id: http://opensvn.csie.org/tuxanci_ng@67 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/item.c')
| -rw-r--r-- | src/item.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } } |