From 9af9cf30c8bc8087a72c4eca2be7a258fca1aa56 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Sun, 18 Mar 2007 02:14:59 +0000 Subject: [PATCH] non-monster kick target My "kicking off edge of map" patch on 2007/01/27 had a typo/braino which caused messages--including death reason--which intended to say "kicking " end up using "kicking something weird" instead. --- src/dokick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dokick.c b/src/dokick.c index d620bf8e5..fb90d1690 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)dokick.c 3.5 2007/01/26 */ +/* SCCS Id: @(#)dokick.c 3.5 2007/03/17 */ /* Copyright (c) Izchak Miller, Mike Stephenson, Steve Linhart, 1989. */ /* NetHack may be freely redistributed. See license for details. */ @@ -624,7 +624,7 @@ char *buf; const char *what; if (kickobj) what = killer_xname(kickobj); - if (maploc == &nowhere) what = "nothing"; + else if (maploc == &nowhere) what = "nothing"; else if (IS_DOOR(maploc->typ)) what = "a door"; else if (IS_TREE(maploc->typ)) what = "a tree"; else if (IS_STWALL(maploc->typ)) what = "a wall";