touchstone follow-up
- Handle gold materials a littel better.
This commit is contained in:
+5
-5
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user