]> granicus.if.org Git - nethack/commitdiff
dipping non-weapon iron in fountain follow-up patch correction
authornethack.allison <nethack.allison>
Wed, 15 Oct 2003 12:37:39 +0000 (12:37 +0000)
committernethack.allison <nethack.allison>
Wed, 15 Oct 2003 12:37:39 +0000 (12:37 +0000)
src/potion.c

index fed833a8c65be561602d9eee5fee046276811323..80f31566c96ddba69b96e84ae6fe90bc594f46fe 100644 (file)
@@ -1567,19 +1567,6 @@ dodip()
                    return 1;
                }
                break;
-           case WEAPON_CLASS:
-           /* Just "fall through" to generic rustprone check for now. */
-           /* fall through */
-           default:
-               if (!obj->oerodeproof && is_rustprone(obj) &&
-                   (obj->oeroded < MAX_ERODE) && !rn2(2)) {
-                       pline("%s %s some%s.",
-                             Your_buf, aobjnam(obj, "rust"),
-                             obj->oeroded ? " more" : "what");
-                       obj->oeroded++;
-                       update_inventory();
-                       return TRUE;
-               } else break;
        }
 
        if(!(potion = getobj(beverages, "dip into")))