diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-17 13:12:28 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-17 13:12:28 +0000 |
| commit | 727e15323c6f1a902495d9b155ddbdbfa95f2f46 (patch) | |
| tree | 41d64011a95c659d7353f7f2a5cd86c1494261a5 /src/base/shot.c | |
| parent | 7efb51e2cb64a417d9d18ba0064c84abad265dad (diff) | |
- 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
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); } |