From 727e15323c6f1a902495d9b155ddbdbfa95f2f46 Mon Sep 17 00:00:00 2001 From: oroborus Date: Thu, 17 Jul 2008 13:12:28 +0000 Subject: - maximalny pocet ID je 1 000 000 - maximalny pocet item sa nastavuje v configu MAX_ITEM ( parameter --max-item ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@152 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/base/shot.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/base/shot.c') 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); } -- cgit v1.2.3