diff options
author | charnier <charnier@FreeBSD.org> | 2002-08-25 13:10:45 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2002-08-25 13:10:45 +0000 |
commit | 4966efff7bc9071f04706819e62e1a291d22bcb2 (patch) | |
tree | b72048b5daaf9c3f63615a383f3610277e497ede /games/phantasia | |
parent | c88222c6c0149f22317404fa4c67eba023d90206 (diff) | |
download | FreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.zip FreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.tar.gz |
Replace various spelling with FALLTHROUGH which is lint()able
Diffstat (limited to 'games/phantasia')
-rw-r--r-- | games/phantasia/fight.c | 4 | ||||
-rw-r--r-- | games/phantasia/misc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/games/phantasia/fight.c b/games/phantasia/fight.c index ae778d4..030b29b 100644 --- a/games/phantasia/fight.c +++ b/games/phantasia/fight.c @@ -1549,7 +1549,7 @@ double dtemp; /* for temporary calculations */ } } /* end treasure types 10 - 13 */ - /* fall through to treasure type 9 if no treasure from above */ + /* FALLTHROUGH to treasure type 9 if no treasure from above */ case 9: /* treasure type 9 */ switch (whichtreasure) @@ -1563,7 +1563,7 @@ double dtemp; /* for temporary calculations */ ++Player.p_crowns; break; } - /* fall through otherwise */ + /* FALLTHROUGH */ case 2: addstr("You've been blessed!\n"); diff --git a/games/phantasia/misc.c b/games/phantasia/misc.c index f46e3fd..c103e08 100644 --- a/games/phantasia/misc.c +++ b/games/phantasia/misc.c @@ -1114,7 +1114,7 @@ int operation; case A_NEAR: /* pick random coordinates near */ xnew = Player.p_x + ROLL(1.0, 5.0); ynew = Player.p_y - ROLL(1.0, 5.0); - /* fall through for check */ + /* FALLTHROUGH for check */ case A_SPECIFIC: /* just move player */ if (Beyond && fabs(xnew) < D_BEYOND && fabs(ynew) < D_BEYOND) |