From f84a6cbeb3e8d48b381b6c1def37a0a373d653bc Mon Sep 17 00:00:00 2001 From: Erik Lunna Date: Mon, 2 Dec 2024 15:44:54 +0100 Subject: [PATCH] Another fallthrough fix. --- src/mon.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/mon.c b/src/mon.c index ca186887c..a8976c121 100644 --- a/src/mon.c +++ b/src/mon.c @@ -5693,16 +5693,12 @@ pickvampshape(struct monst *mon) if (mon_has_special(mon)) break; /* leave mndx as is */ wolfchance = 3; - FALLTHROUGH; - /*FALLTHRU*/ - /* Vlad can become wolf */ + /* Vlad can become wolf */ if (!rn2(wolfchance) && !uppercase_only) { mndx = PM_WOLF; break; } - FALLTHROUGH; - /*FALLTHRU*/ - /* Vlad can become fog or bat */ + /* Vlad can become fog or bat */ mndx = (!rn2(4) && !uppercase_only) ? PM_FOG_CLOUD : PM_VAMPIRE_BAT; break; }