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 <an object>" end up using "kicking something weird" instead.
This commit is contained in:
nethack.rankin
2007-03-18 02:14:59 +00:00
parent e16a078655
commit 9af9cf30c8

View File

@@ -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";