probing of empty containers--right diff this time

This commit is contained in:
nethack.rankin
2002-03-20 09:07:39 +00:00
parent 0f1d63976b
commit 35c7504e8e

View File

@@ -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 {