]> granicus.if.org Git - nethack/commitdiff
Update inventory with hellucination on/off, since it may display
authorwarwick <warwick>
Fri, 12 Jul 2002 02:10:51 +0000 (02:10 +0000)
committerwarwick <warwick>
Fri, 12 Jul 2002 02:10:51 +0000 (02:10 +0000)
hallucinated icons.

src/potion.c

index 890463260d9005fea77f5a95b9fe6a49d66f6f59..bbade3880c13dabc97d3e4cf9e70587d727f7e47 100644 (file)
@@ -277,6 +277,11 @@ long mask; /* nonzero if resistance status should change by mask */
                see_objects();
                see_traps();
            }
+
+           /* for perm_inv and anything similar
+           (eg. Qt windowport's equipped items display) */
+           update_inventory();
+
            flags.botl = 1;
            if (!Blind && talk) pline(message);
        }