From c8f75ed90de51b0cc71da2c6c9d5fc42192076f8 Mon Sep 17 00:00:00 2001 From: jsm Date: Sun, 10 Sep 2000 10:51:16 +0000 Subject: Wording, punctuation and line length improvements. Also adjust test for killing nonsensical things to fix crash with "kill door". From OpenBSD. --- battlestar/com2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'battlestar/com2.c') 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]]); -- cgit v1.2.3