touchstone follow-up

- Handle gold materials a littel better.
This commit is contained in:
nethack.allison
2002-03-16 14:08:35 +00:00
parent ce6025df6e
commit 16cdae3bd2
+5 -5
View File
@@ -1887,11 +1887,6 @@ struct obj *otmp;
goto see_streaks; /* okay even if not touchstone */ goto see_streaks; /* okay even if not touchstone */
/*NOTREACHED*/ /*NOTREACHED*/
break; break;
case GOLD:
color = "golden";
goto see_streaks;
/*NOTREACHED*/
break;
} }
return; return;
} }
@@ -1908,6 +1903,11 @@ struct obj *otmp;
return; return;
} }
if (material == GOLD) {
color = "golden";
goto see_streaks;
}
switch (obj->oclass) { switch (obj->oclass) {
case GOLD_CLASS: case GOLD_CLASS:
color = "golden"; color = "golden";