probing of empty containers--right diff this time
This commit is contained in:
@@ -1505,7 +1505,7 @@ struct obj *obj, *otmp;
|
|||||||
res = !obj->dknown;
|
res = !obj->dknown;
|
||||||
/* target object has now been "seen (up close)" */
|
/* target object has now been "seen (up close)" */
|
||||||
obj->dknown = 1;
|
obj->dknown = 1;
|
||||||
if (Is_contenter(obj) || obj->otyp == STATUE) {
|
if (Is_container(obj) || obj->otyp == STATUE) {
|
||||||
if (!obj->cobj)
|
if (!obj->cobj)
|
||||||
pline("%s empty.", Tobjnam(obj, "are"));
|
pline("%s empty.", Tobjnam(obj, "are"));
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user