More unpolyable unifying
... and fix the potion dipping case.
This commit is contained in:
@@ -1977,11 +1977,7 @@ dodip()
|
||||
goto poof;
|
||||
} else if (obj->otyp == POT_POLYMORPH || potion->otyp == POT_POLYMORPH) {
|
||||
/* some objects can't be polymorphed */
|
||||
if (obj->otyp == potion->otyp /* both POT_POLY */
|
||||
|| unpolyable(obj)
|
||||
|| obj == uball || obj == uskin
|
||||
|| obj_resists(obj->otyp == POT_POLYMORPH ? potion : obj,
|
||||
5, 95)) {
|
||||
if (obj_unpolyable(obj->otyp == POT_POLYMORPH ? potion : obj)) {
|
||||
pline1(nothing_happens);
|
||||
} else {
|
||||
short save_otyp = obj->otyp;
|
||||
|
||||
Reference in New Issue
Block a user