]> granicus.if.org Git - nethack/commitdiff
Fix conflict with <Someone>'s warning fix that I messed up on.
authornethack.allison <nethack.allison>
Sun, 10 Feb 2002 19:54:33 +0000 (19:54 +0000)
committernethack.allison <nethack.allison>
Sun, 10 Feb 2002 19:54:33 +0000 (19:54 +0000)
src/detect.c

index 5aa57bd4b20c963f2cbf4d3f8429e2b492aade4e..e9ee692bec20b5a3614526fd19d9b1934a975611 100644 (file)
@@ -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