From: nethack.allison Date: Sun, 10 Feb 2002 19:54:33 +0000 (+0000) Subject: Fix conflict with 's warning fix that I messed up on. X-Git-Tag: MOVE2GIT~3210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77ba02a2b6b148f75acd0b9c364d8ef25ff6e733;p=nethack Fix conflict with 's warning fix that I messed up on. --- diff --git a/src/detect.c b/src/detect.c index 5aa57bd4b..e9ee692be 100644 --- a/src/detect.c +++ b/src/detect.c @@ -210,7 +210,7 @@ register struct obj *sobj; if (youmonst.data == &mons[PM_GOLD_GOLEM]) { Sprintf(buf, "You feel like a million %s!", currency(2L)); - } else if (sobj && hidden_gold() || + } else if (hidden_gold() || #ifndef GOLDOBJ u.ugold) #else