]> granicus.if.org Git - nethack/commitdiff
player eating metal followup
authorcohrs <cohrs>
Tue, 12 Feb 2002 03:58:13 +0000 (03:58 +0000)
committercohrs <cohrs>
Tue, 12 Feb 2002 03:58:13 +0000 (03:58 +0000)
new #ifdef was backwards

src/invent.c

index 7592bbd01b7ef75b914a6ef1de5585f3bea8dafd..5c9c2c253119102f9078f0509444c60ecde019a1 100644 (file)
@@ -764,7 +764,7 @@ register const char *let,*word;
        ilet = 'a';
        for (otmp = invent; otmp; otmp = otmp->nobj) {
            if (!flags.invlet_constant)
-#ifndef GOLDOBJ
+#ifdef GOLDOBJ
                if (otmp->invlet != GOLD_SYM) /* don't reassign this */
 #endif
                otmp->invlet = ilet;    /* reassign() */