trunk compilation followup to iron changes

This commit is contained in:
cohrs
2003-10-15 16:13:59 +00:00
parent 913207b30c
commit b964ae9712
+4 -3
View File
@@ -1515,13 +1515,14 @@ register struct obj *obj;
default: default:
if (!obj->oerodeproof && is_rustprone(obj) && if (!obj->oerodeproof && is_rustprone(obj) &&
(obj->oeroded < MAX_ERODE) && !rn2(2)) { (obj->oeroded < MAX_ERODE) && !rn2(2)) {
pline("%s %s some%s.", pline("%s some%s.",
Your_buf, aobjnam(obj, "rust"), Yobjnam2(obj, "rust"),
obj->oeroded ? " more" : "what"); obj->oeroded ? " more" : "what");
obj->oeroded++; obj->oeroded++;
update_inventory(); update_inventory();
return TRUE; return TRUE;
} else break; }
break;
} }
pline("%s wet.", Yobjnam2(obj, "get")); pline("%s wet.", Yobjnam2(obj, "get"));
return FALSE; return FALSE;