From: cohrs Date: Tue, 12 Feb 2002 03:58:13 +0000 (+0000) Subject: player eating metal followup X-Git-Tag: MOVE2GIT~3196 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=443035da2f38710c4794eb080128e5e0926d1b86;p=nethack player eating metal followup new #ifdef was backwards --- diff --git a/src/invent.c b/src/invent.c index 7592bbd01..5c9c2c253 100644 --- a/src/invent.c +++ b/src/invent.c @@ -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() */