]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - phantasia/fight.c
mention hex numbers
[bsdgames-darwin.git] / phantasia / fight.c
index 1f01b9deeb91424b64bea73d0974a2d52c3abef8..0a1ab064dc5f03af6967f298469bdfe3563ed018 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: fight.c,v 1.13 2009/08/31 08:27:16 dholland Exp $      */
+/*     $NetBSD: fight.c,v 1.14 2019/02/03 03:19:25 mrg Exp $   */
 
 /*
  * fight.c   Phantasia monster fighting routines
@@ -1316,6 +1316,7 @@ awardtreasure(void)
                                        /* fall through to treasure type 9 if
                                         * no treasure from above */
 
+                                       /* FALLTHROUGH */
                                case 9: /* treasure type 9 */
                                        switch (whichtreasure) {
                                        case 1:
@@ -1326,8 +1327,8 @@ awardtreasure(void)
                                                        ++Player.p_crowns;
                                                        break;
                                                }
-                                               /* fall through otherwise */
 
+                                               /* FALLTHROUGH */
                                        case 2:
                                                addstr("You've been blessed!\n");
                                                Player.p_blessing = TRUE;