From: cohrs Date: Sun, 10 Feb 2002 18:58:12 +0000 (+0000) Subject: takes your corpse X-Git-Tag: MOVE2GIT~3213 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e565276030ef37b56406cc41385c949b3f2c08bd;p=nethack takes your corpse use corpse_xname to generate corpse names as a result of yname() and also as used in the steal code. Now messages read "your XXX corpse". --- diff --git a/src/detect.c b/src/detect.c index e9944adbb..31f1bc8b4 100644 --- a/src/detect.c +++ b/src/detect.c @@ -208,7 +208,7 @@ register struct obj *sobj; if (sobj) { if (youmonst.data == &mons[PM_GOLD_GOLEM]) You_feel("like a million %s!", currency(2L)); - else if (sobj && hidden_gold() || + else if (hidden_gold() || #ifndef GOLDOBJ u.ugold) #else