summaryrefslogtreecommitdiffstats
path: root/battlestar/com2.c
diff options
context:
space:
mode:
Diffstat (limited to 'battlestar/com2.c')
-rw-r--r--battlestar/com2.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/battlestar/com2.c b/battlestar/com2.c
index 4ae10313..fb70c0a1 100644
--- a/battlestar/com2.c
+++ b/battlestar/com2.c
@@ -1,4 +1,4 @@
-/* $NetBSD: com2.c,v 1.17 2000/09/24 09:46:57 jsm Exp $ */
+/* $NetBSD: com2.c,v 1.18 2000/09/24 14:20:23 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)com2.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: com2.c,v 1.17 2000/09/24 09:46:57 jsm Exp $");
+__RCSID("$NetBSD: com2.c,v 1.18 2000/09/24 14:20:23 jsm Exp $");
#endif
#endif /* not lint */
@@ -273,7 +273,8 @@ murder()
void
ravage()
{
- while (wordtype[++wordnumber] != NOUNS && wordnumber <= wordcount);
+ while (wordtype[++wordnumber] != NOUNS && wordnumber <= wordcount)
+ continue;
if (wordtype[wordnumber] == NOUNS && (testbit(location[position].objects, wordvalue[wordnumber])
|| (wordvalue[wordnumber] == NORMGOD && testbit(location[position].objects, BATHGOD)))) {
ourtime++;