From 16cdae3bd25aacd7150224aae93e07f807f8c737 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sat, 16 Mar 2002 14:08:35 +0000 Subject: [PATCH] touchstone follow-up - Handle gold materials a littel better. --- src/apply.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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"; -- 2.40.0