From 77ba02a2b6b148f75acd0b9c364d8ef25ff6e733 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sun, 10 Feb 2002 19:54:33 +0000 Subject: [PATCH] Fix conflict with 's warning fix that I messed up on. --- src/detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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