]> granicus.if.org Git - nethack/commitdiff
bug 8009 (dropping gold on altar)
authorarromdee <arromdee>
Sat, 2 Mar 2002 16:06:12 +0000 (16:06 +0000)
committerarromdee <arromdee>
Sat, 2 Mar 2002 16:06:12 +0000 (16:06 +0000)
This fixes beta bug 8009 (dropping gold on altar)

src/do.c

index 75c96c3dcdd2f9acdf69ea156e5c5a06938f7c60..730969b67e49ac68ec91aa27a9ea4d704229ede4 100644 (file)
--- a/src/do.c
+++ b/src/do.c
@@ -218,11 +218,7 @@ void
 doaltarobj(obj)  /* obj is an object dropped on an altar */
        register struct obj *obj;
 {
-#ifndef GOLDOBJ
-       if (Blind)
-#else
        if (Blind || obj->oclass == GOLD_CLASS)
-#endif
                return;
 
        /* KMH, conduct */