]> granicus.if.org Git - nethack/commitdiff
probing of empty containers--right diff this time
authornethack.rankin <nethack.rankin>
Wed, 20 Mar 2002 09:07:39 +0000 (09:07 +0000)
committernethack.rankin <nethack.rankin>
Wed, 20 Mar 2002 09:07:39 +0000 (09:07 +0000)
src/zap.c

index 03c4e9cf53ce1701e42a64b7cec642181edd689c..318e77f6665c96154b5e160f87cd94ee3fa51e32 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -1505,7 +1505,7 @@ struct obj *obj, *otmp;
                res = !obj->dknown;
                /* target object has now been "seen (up close)" */
                obj->dknown = 1;
-               if (Is_contenter(obj) || obj->otyp == STATUE) {
+               if (Is_container(obj) || obj->otyp == STATUE) {
                    if (!obj->cobj)
                        pline("%s empty.", Tobjnam(obj, "are"));
                    else {