diff options
Diffstat (limited to 'src/item.c')
| -rw-r--r-- | src/item.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -482,12 +482,12 @@ void eventConflictShotWithItem(arena_t *arena) return; } - for( i = 0 ; i < arena->listShot->count ; i++ ) + for( i = 0 ; i < arena->spaceShot->list->count ; i++ ) { bool_t isDelShot; isDelShot = FALSE; - thisShot = (shot_t *)arena->listShot->list[i]; + thisShot = (shot_t *)arena->spaceShot->list->list[i]; assert( thisShot != NULL ); listDoEmpty(listHelp); @@ -526,7 +526,7 @@ void eventConflictShotWithItem(arena_t *arena) proto_send_delshot_server(PROTO_SEND_ALL, NULL, thisShot); } - delListItem(arena->listShot, i, destroyShot); + delObjectFromSpaceWithObject(arena->spaceShot, thisItem, destroyShot); i--; } } |