Skip to content

Commit

Permalink
Another fallthrough fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Dec 2, 2024
1 parent e19f61f commit f84a6cb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f84a6cb

Please sign in to comment.