diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-08-06 21:08:09 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-08-06 21:08:09 +0000 |
commit | 8f4be4c9fc053e06d8170659c9bde356ada1a655 (patch) | |
tree | d116498a9604b21bf16d82850fcf1726939a4f6a /games | |
parent | 9293e104f0b834487ffef8344f12e9dc93c0abd0 (diff) |
Remove some double semicolons (hmm, do two semis equal a maxi?).
I've skipped the GNU stuff for now. From Patrick Latifi.
Diffstat (limited to 'games')
-rw-r--r-- | games/phantasia/misc.c | 4 | ||||
-rw-r--r-- | games/rogue/level.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/games/phantasia/misc.c b/games/phantasia/misc.c index f578438e5d2..57b4163903a 100644 --- a/games/phantasia/misc.c +++ b/games/phantasia/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.12 2003/04/25 21:37:47 deraadt Exp $ */ +/* $OpenBSD: misc.c,v 1.13 2003/08/06 21:08:05 millert Exp $ */ /* $NetBSD: misc.c,v 1.2 1995/03/24 03:59:03 cgd Exp $ */ /* @@ -1200,7 +1200,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/games/rogue/level.c b/games/rogue/level.c index 91a0449d8d1..b13a3cdbb8b 100644 --- a/games/rogue/level.c +++ b/games/rogue/level.c @@ -1,4 +1,4 @@ -/* $OpenBSD: level.c,v 1.5 2003/06/03 03:01:41 millert Exp $ */ +/* $OpenBSD: level.c,v 1.6 2003/08/06 21:08:05 millert Exp $ */ /* $NetBSD: level.c,v 1.3 1995/04/22 10:27:37 cgd Exp $ */ /* @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)level.c 8.1 (Berkeley) 5/31/93"; #else -static const char rcsid[] = "$OpenBSD: level.c,v 1.5 2003/06/03 03:01:41 millert Exp $"; +static const char rcsid[] = "$OpenBSD: level.c,v 1.6 2003/08/06 21:08:05 millert Exp $"; #endif #endif /* not lint */ @@ -255,7 +255,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; |