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