touchstone follow-up
- Handle gold materials a littel better.
This commit is contained in:
10
src/apply.c
10
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";
|
||||
|
||||
Reference in New Issue
Block a user