diff options
author | mrg <mrg@NetBSD.org> | 2019-10-13 07:42:57 +0000 |
---|---|---|
committer | mrg <mrg@NetBSD.org> | 2019-10-13 07:42:57 +0000 |
commit | b95de0eea58f84fff48b48c3d4d828747c92adf9 (patch) | |
tree | fdc5118cd53faf5ee1d5564abe342fc139ad870d /hunt | |
parent | 0916c259074fe3a53be779ed4e2849038e5e016c (diff) | |
download | bsdgames-darwin-b95de0eea58f84fff48b48c3d4d828747c92adf9.tar.gz bsdgames-darwin-b95de0eea58f84fff48b48c3d4d828747c92adf9.tar.zst bsdgames-darwin-b95de0eea58f84fff48b48c3d4d828747c92adf9.zip |
adjust a fallthru comment and add a missing break.
Diffstat (limited to 'hunt')
-rw-r--r-- | hunt/huntd/shots.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hunt/huntd/shots.c b/hunt/huntd/shots.c index 5f8c0129..c1252aed 100644 --- a/hunt/huntd/shots.c +++ b/hunt/huntd/shots.c @@ -1,4 +1,4 @@ -/* $NetBSD: shots.c,v 1.14 2014/03/29 21:43:19 dholland Exp $ */ +/* $NetBSD: shots.c,v 1.15 2019/10/13 07:42:57 mrg Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: shots.c,v 1.14 2014/03/29 21:43:19 dholland Exp $"); +__RCSID("$NetBSD: shots.c,v 1.15 2019/10/13 07:42:57 mrg Exp $"); #endif /* not lint */ #include <err.h> @@ -347,10 +347,11 @@ move_normal_shot(BULLET *bp) /* * The shot hit that sucker! Blow it up. */ - /* FALLTHROUGH */ #ifndef RANDOM + /* FALLTHROUGH */ case DOOR: #endif + /* FALLTHROUGH */ case WALL1: case WALL2: case WALL3: @@ -548,6 +549,7 @@ save_bullet(BULLET *bp) case BOOT: case BOOT_PAIR: mark_boot(bp); + break; #endif default: |