more update_inventory calls
in passive_obj and erode_armor
This commit is contained in:
@@ -1636,6 +1636,7 @@ boolean acid_dmg;
|
|||||||
|
|
||||||
if (otmph && (otmph != uarmf)) {
|
if (otmph && (otmph != uarmf)) {
|
||||||
erode_obj(otmph, acid_dmg, FALSE);
|
erode_obj(otmph, acid_dmg, FALSE);
|
||||||
|
if (carried(otmph)) update_inventory();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2184,6 +2184,8 @@ struct attack *mattk; /* null means we find one internally */
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (carried(obj)) update_inventory();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Note: caller must ascertain mtmp is mimicking... */
|
/* Note: caller must ascertain mtmp is mimicking... */
|
||||||
|
|||||||
Reference in New Issue
Block a user