summaryrefslogtreecommitdiff
path: root/src/gun.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-19 19:28:04 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-19 19:28:04 +0000
commita370d2f5860a0f89ac44af857d1059885ad1d60f (patch)
tree5ad5112a884e41367b271a8ea3509dec04524819 /src/gun.c
parentfadf9365dba24b680db5cb8750c53e264ff1ec27 (diff)
- upravy v kode
- prepis stirel pre space_t * - v kode su dva vyhladavacie algortmy, implicitne sa pouziva ten ktory funguje :) ten co nefunguje je zamakrovany makrom SUPPORT_ERROR a este ho musim doladit git-svn-id: http://opensvn.csie.org/tuxanci_ng@66 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/gun.c')
-rw-r--r--src/gun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gun.c b/src/gun.c
index bddeda1..dceec63 100644
--- a/src/gun.c
+++ b/src/gun.c
@@ -89,7 +89,8 @@ static void addShotTrivial(tux_t *tux, int x, int y, int px, int py, int gun)
return;
}
*/
- addList( getCurrentArena()->listShot, shot );
+ //addList( getCurrentArena()->listShot, shot );
+ addObjectToSpace(getCurrentArena()->spaceShot, shot);
if( getNetTypeGame() == NET_GAME_TYPE_SERVER )
{