From b964ae9712c123385ae1b97e2c788f1bc5575ec3 Mon Sep 17 00:00:00 2001 From: cohrs Date: Wed, 15 Oct 2003 16:13:59 +0000 Subject: [PATCH] trunk compilation followup to iron changes --- src/potion.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; -- 2.40.0