Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
bl0ckeduser committed Dec 3, 2011
2 parents 9af674f + 50e3429 commit 01f9f20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bullet.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ void bulletTick(game_obj* bul)
if(bul->data[BULLET_EXPLODED]==1)
{
++bul->data[BULLET_EXPLODED];

/* The bullet is not immediately deleted,
but rather scheduled for deletion and
deleted when gc_collect() is called. */
deleteNode(bul);
}

Expand Down

0 comments on commit 01f9f20

Please sign in to comment.