-/* $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
/* 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;
-/* $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
#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 */
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;