summaryrefslogtreecommitdiff
path: root/src/wall.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-04-15 19:28:48 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-04-15 19:28:48 +0000
commita8bec57e7a9be7b1fa36ef8be618db4e46cbd599 (patch)
tree1af5e651f4ff628f99393109e3352dbd7b1f39f4 /src/wall.c
parentc8223ce77a4dbf57be272d10c4e1d31f69bd516e (diff)
- oprava chyby #0007 #0006 #0005
- nova zbran bombball - client dostava svoju vlastnu poziciu od servera kazdych 5000 ms git-svn-id: http://opensvn.csie.org/tuxanci_ng@45 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/wall.c')
-rw-r--r--src/wall.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wall.c b/src/wall.c
index c66b5c6..54f034a 100644
--- a/src/wall.c
+++ b/src/wall.c
@@ -5,6 +5,8 @@
#include "main.h"
#include "wall.h"
#include "shot.h"
+#include "net_multiplayer.h"
+#include "proto.h"
#ifndef PUBLIC_SERVER
#include "layer.h"
@@ -116,6 +118,12 @@ void eventConflictShotWithWall(list_t *listWall, list_t *listShot)
continue;
}
+ if( thisShot->gun == GUN_BOMBBALL && getNetTypeGame() != NET_GAME_TYPE_CLIENT )
+ {
+ boundBombBall(thisShot);
+ continue;
+ }
+
delListItem(listShot, i, destroyShot);
i--;
}