From: nethack.allison Date: Sat, 16 Mar 2002 14:08:35 +0000 (+0000) Subject: touchstone follow-up X-Git-Tag: MOVE2GIT~2962 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16cdae3bd25aacd7150224aae93e07f807f8c737;p=nethack touchstone follow-up - Handle gold materials a littel better. --- diff --git a/src/apply.c b/src/apply.c index f127f17b5..00a9c47b6 100644 --- a/src/apply.c +++ b/src/apply.c @@ -1887,11 +1887,6 @@ struct obj *otmp; goto see_streaks; /* okay even if not touchstone */ /*NOTREACHED*/ break; - case GOLD: - color = "golden"; - goto see_streaks; - /*NOTREACHED*/ - break; } return; } @@ -1908,6 +1903,11 @@ struct obj *otmp; return; } + if (material == GOLD) { + color = "golden"; + goto see_streaks; + } + switch (obj->oclass) { case GOLD_CLASS: color = "golden";