diff options
Diffstat (limited to 'src/base/shot.c')
| -rw-r--r-- | src/base/shot.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/base/shot.c b/src/base/shot.c index 1b657c2..c631a26 100644 --- a/src/base/shot.c +++ b/src/base/shot.c @@ -70,11 +70,6 @@ shot_t* newShot(int x,int y, int px, int py, int gun, int author_id) new->gun = gun; new->author_id = author_id; - if( author_id != ID_UNKNOWN ) - { - incID(author_id); - } - new->position = POSITION_UNKNOWN; author = getObjectFromSpaceWithID(getCurrentArena()->spaceTux, author_id); @@ -363,11 +358,6 @@ void destroyShot(shot_t *p) delID(p->id); - if( p->author_id != ID_UNKNOWN ) - { - delID(p->author_id); - } - free(p); } |