diff options
Diffstat (limited to 'src/wall.c')
| -rw-r--r-- | src/wall.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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--; } |