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/com7.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'battlestar/com7.c') diff --git a/battlestar/com7.c b/battlestar/com7.c index 31b4c57e..043de03c 100644 --- a/battlestar/com7.c +++ b/battlestar/com7.c @@ -1,4 +1,4 @@ -/* $NetBSD: com7.c,v 1.7 2000/07/23 23:57:23 mycroft Exp $ */ +/* $NetBSD: com7.c,v 1.8 2000/09/10 10:51:17 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)com7.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: com7.c,v 1.7 2000/07/23 23:57:23 mycroft Exp $"); +__RCSID("$NetBSD: com7.c,v 1.8 2000/09/10 10:51:17 jsm Exp $"); #endif #endif /* not lint */ @@ -244,7 +244,7 @@ fighton: break; default: - puts("You don't have a chance, he is too quick."); + puts("You don't have a chance; he is too quick."); break; } @@ -258,7 +258,7 @@ fighton: return (0); } puts("He attacks..."); - /* some embellisments */ + /* Some embellishments. */ hurt = rnd(NUMOFINJURIES) - (testbit(inven, SHIELD) != 0) - (testbit(wear, MAIL) != 0) - (testbit(wear, HELM) != 0); hurt += (testbit(wear, AMULET) != 0) + (testbit(wear, MEDALION) != 0) + (testbit(wear, TALISMAN) != 0); hurt = hurt < 0 ? 0 : hurt; -- cgit v1.2.3-56-ge451