dipping in acid

Add checks to allow erosion of objects #dip'd in acid.
From a bug report.
This commit is contained in:
cohrs
2005-03-18 20:59:29 +00:00
parent 361e020847
commit 7cb4b9d662
10 changed files with 39 additions and 22 deletions
+1 -1
View File
@@ -1734,7 +1734,7 @@ boolean acid_dmg;
struct obj *otmph = some_armor(victim);
if (otmph && (otmph != uarmf)) {
erode_obj(otmph, acid_dmg, FALSE);
(void) erode_obj(otmph, acid_dmg, FALSE, FALSE);
if (carried(otmph)) update_inventory();
}
}