From: cohrs Date: Wed, 15 Oct 2003 16:13:59 +0000 (+0000) Subject: trunk compilation followup to iron changes X-Git-Tag: MOVE2GIT~1689 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b964ae9712c123385ae1b97e2c788f1bc5575ec3;p=nethack trunk compilation followup to iron changes --- diff --git a/src/potion.c b/src/potion.c index 8e4f859c4..a29a77e05 100644 --- a/src/potion.c +++ b/src/potion.c @@ -1515,13 +1515,14 @@ register struct obj *obj; default: if (!obj->oerodeproof && is_rustprone(obj) && (obj->oeroded < MAX_ERODE) && !rn2(2)) { - pline("%s %s some%s.", - Your_buf, aobjnam(obj, "rust"), + pline("%s some%s.", + Yobjnam2(obj, "rust"), obj->oeroded ? " more" : "what"); obj->oeroded++; update_inventory(); return TRUE; - } else break; + } + break; } pline("%s wet.", Yobjnam2(obj, "get")); return FALSE;