diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 5d09fea56..39e5f3a0d 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -97,6 +97,7 @@ only prefix shopkeeper names with "Mr." or "Ms." when not a personal name green slime should not affect noncorporeal monsters land mine explosion will destroy a drawbridge at same location avoid some more buffer overflows in query buffers containing object names +avoid giving extra information about things that break out of sight Platform- and/or Interface-Specific Fixes diff --git a/src/dothrow.c b/src/dothrow.c index 45240e0d6..d992603ad 100644 --- a/src/dothrow.c +++ b/src/dothrow.c @@ -1538,7 +1538,7 @@ struct obj *obj; xchar x, y; /* object location (ox, oy may not be right) */ boolean from_invent; /* thrown or dropped by player; maybe on shop bill */ { - boolean in_view = !Blind; + boolean in_view = Blind ? FALSE : (from_invent || cansee(x, y)); if (!breaktest(obj)) return 0; breakmsg(obj, in_view); breakobj(obj, x, y, TRUE, from_invent);