diff options
Diffstat (limited to 'hack/hack.fight.c')
-rw-r--r-- | hack/hack.fight.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hack/hack.fight.c b/hack/hack.fight.c index 7cc75159..dc5074cc 100644 --- a/hack/hack.fight.c +++ b/hack/hack.fight.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.fight.c,v 1.11 2009/06/07 20:31:10 dholland Exp $ */ +/* $NetBSD: hack.fight.c,v 1.12 2009/08/12 07:28:40 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: hack.fight.c,v 1.11 2009/06/07 20:31:10 dholland Exp $"); +__RCSID("$NetBSD: hack.fight.c,v 1.12 2009/08/12 07:28:40 dholland Exp $"); #endif /* not lint */ #include "hack.h" @@ -72,6 +72,8 @@ __RCSID("$NetBSD: hack.fight.c,v 1.11 2009/06/07 20:31:10 dholland Exp $"); static boolean far_noise; static long noisetime; +static void monstone(struct monst *); + /* hitmm returns 0 (miss), 1 (hit), or 2 (kill) */ int hitmm(struct monst *magr, struct monst *mdef) @@ -158,7 +160,7 @@ mondied(struct monst *mdef) } /* drop a rock and remove monster */ -void +static void monstone(struct monst *mdef) { if (strchr(mlarge, mdef->data->mlet)) |