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

View File

@@ -1888,6 +1888,11 @@ dodip()
}
}
if (potion->otyp == POT_ACID) {
if (erode_obj(obj, TRUE, FALSE, TRUE))
goto poof;
}
if (potion->otyp == POT_OIL) {
boolean wisx = FALSE;
if (potion->lamplit) { /* burning */