diff options
author | simonb <simonb@NetBSD.org> | 2003-01-20 05:29:53 +0000 |
---|---|---|
committer | simonb <simonb@NetBSD.org> | 2003-01-20 05:29:53 +0000 |
commit | 3961d5130729d5938bb51ec1204b2b61920720cb (patch) | |
tree | 9f37dd687a383803e3a4f4dec3acf360ffd77884 | |
parent | ca2e57358fc9d40f754ae74d2cf83a5356674484 (diff) | |
download | bsdgames-darwin-3961d5130729d5938bb51ec1204b2b61920720cb.tar.gz bsdgames-darwin-3961d5130729d5938bb51ec1204b2b61920720cb.tar.zst bsdgames-darwin-3961d5130729d5938bb51ec1204b2b61920720cb.zip |
The Double-Semi-Colon Police.
-rw-r--r-- | phantasia/misc.c | 4 | ||||
-rw-r--r-- | rogue/level.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/phantasia/misc.c b/phantasia/misc.c index 5be73cc5..edf64cf7 100644 --- a/phantasia/misc.c +++ b/phantasia/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.7 2000/04/27 00:30:53 jdc Exp $ */ +/* $NetBSD: misc.c,v 1.8 2003/01/20 05:29:55 simonb Exp $ */ /* * misc.c Phantasia miscellaneous support routines @@ -790,7 +790,7 @@ adjuststats() /* calculate effective quickness */ dtemp = ((Player.p_gold + Player.p_gems / 2.0) - 1000.0) / Statptr->c_goldtote - - Player.p_level;; + - Player.p_level; dtemp = MAX(0.0, dtemp);/* gold slows player down */ Player.p_speed = Player.p_quickness + Player.p_quksilver - dtemp; diff --git a/rogue/level.c b/rogue/level.c index f366f570..b57e1f21 100644 --- a/rogue/level.c +++ b/rogue/level.c @@ -1,4 +1,4 @@ -/* $NetBSD: level.c,v 1.5 1998/11/10 13:01:32 hubertf Exp $ */ +/* $NetBSD: level.c,v 1.6 2003/01/20 05:29:55 simonb Exp $ */ /* * Copyright (c) 1988, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)level.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: level.c,v 1.5 1998/11/10 13:01:32 hubertf Exp $"); +__RCSID("$NetBSD: level.c,v 1.6 2003/01/20 05:29:55 simonb Exp $"); #endif #endif /* not lint */ @@ -261,7 +261,7 @@ make_room(rn, r1, r2, r3) case BIG_ROOM: top_row = get_rand(MIN_ROW, MIN_ROW+5); bottom_row = get_rand(DROWS-7, DROWS-2); - left_col = get_rand(0, 10);; + left_col = get_rand(0, 10); right_col = get_rand(DCOLS-11, DCOLS-1); rn = 0; goto B; |