]> granicus.if.org Git - nethack/commitdiff
trunk compilation followup to iron changes
authorcohrs <cohrs>
Wed, 15 Oct 2003 16:13:59 +0000 (16:13 +0000)
committercohrs <cohrs>
Wed, 15 Oct 2003 16:13:59 +0000 (16:13 +0000)
src/potion.c

index 8e4f859c4e15f71b8b6ffe59e02c1cd155247b38..a29a77e051fc5badc406c4a88d76a93f57c94993 100644 (file)
@@ -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;