diff options
| author | jsm <jsm@NetBSD.org> | 2000-09-10 10:51:16 +0000 |
|---|---|---|
| committer | jsm <jsm@NetBSD.org> | 2000-09-10 10:51:16 +0000 |
| commit | c8f75ed90de51b0cc71da2c6c9d5fc42192076f8 (patch) | |
| tree | 8e9ce8ed243c180a5187bb3e1009d8205761df0a /battlestar/com2.c | |
| parent | 29a87ab833bc1b9214ec69d8c84421d5529038b7 (diff) | |
| download | bsdgames-darwin-c8f75ed90de51b0cc71da2c6c9d5fc42192076f8.tar.gz bsdgames-darwin-c8f75ed90de51b0cc71da2c6c9d5fc42192076f8.zip | |
Wording, punctuation and line length improvements. Also adjust test
for killing nonsensical things to fix crash with "kill door". From
OpenBSD.
Diffstat (limited to 'battlestar/com2.c')
| -rw-r--r-- | battlestar/com2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/battlestar/com2.c b/battlestar/com2.c index f2536ff3..96748eba 100644 --- a/battlestar/com2.c +++ b/battlestar/com2.c @@ -1,4 +1,4 @@ -/* $NetBSD: com2.c,v 1.8 1999/07/14 17:42:13 hubertf Exp $ */ +/* $NetBSD: com2.c,v 1.9 2000/09/10 10:51:16 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.8 1999/07/14 17:42:13 hubertf Exp $"); +__RCSID("$NetBSD: com2.c,v 1.9 2000/09/10 10:51:16 jsm Exp $"); #endif #endif /* not lint */ @@ -239,8 +239,8 @@ murder() break; default: - if (wordtype[wordnumber] != NOUNS) - puts("Kill what?"); + if (wordtype[wordnumber] != OBJECT) + puts("You can't kill that!"); else printf("You can't kill the %s!\n", objsht[wordvalue[wordnumber]]); |
