summaryrefslogtreecommitdiff
path: root/src/wall.c
diff options
context:
space:
mode:
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--;
}