summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.eat.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.eat.c')
-rw-r--r--games/hack/hack.eat.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/games/hack/hack.eat.c b/games/hack/hack.eat.c
index c410ea1..6f4116b 100644
--- a/games/hack/hack.eat.c
+++ b/games/hack/hack.eat.c
@@ -1,6 +1,8 @@
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* hack.eat.c - version 1.0.3 */
-/* $FreeBSD$ */
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "hack.h"
char POISONOUS[] = "ADKSVabhks";
@@ -394,11 +396,11 @@ int tp = 0;
case 'n':
u.uhp = u.uhpmax;
flags.botl = 1;
- /* fall into next case */
+ /* FALLTHROUGH */
case '@':
pline("You cannibal! You will be sorry for this!");
/* not tp++; */
- /* fall into next case */
+ /* FALLTHROUGH */
case 'd':
Aggravate_monster |= INTRINSIC;
break;
@@ -411,12 +413,12 @@ int tp = 0;
Invis |= INTRINSIC;
See_invisible |= INTRINSIC;
}
- /* fall into next case */
+ /* FALLTHROUGH */
case 'y':
#ifdef QUEST
u.uhorizon++;
#endif /* QUEST */
- /* fall into next case */
+ /* FALLTHROUGH */
case 'B':
Confusion = 50;
break;
OpenPOWER on IntegriCloud