probing of empty containers--right diff this time
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user