From: cohrs Date: Thu, 19 Jun 2003 02:26:49 +0000 (+0000) Subject: U510: yet another update_inventory call X-Git-Tag: MOVE2GIT~1920 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71fbc01113a6b35fd061c3efe1406a615ee914ad;p=nethack U510: yet another update_inventory call When armor becomes ungreased, update_inventory to reflect the change. --- diff --git a/src/mhitu.c b/src/mhitu.c index 4e22365d3..8138ed5e3 100644 --- a/src/mhitu.c +++ b/src/mhitu.c @@ -783,6 +783,7 @@ struct attack *mattk; if (obj->greased && !rn2(2)) { pline_The("grease wears off."); obj->greased = 0; + update_inventory(); } return TRUE; }