]> granicus.if.org Git - nethack/commit
farlook bullet-proofing
authorPatR <rankin@nethack.org>
Fri, 3 Jun 2016 00:11:13 +0000 (17:11 -0700)
committerPatR <rankin@nethack.org>
Fri, 3 Jun 2016 00:11:13 +0000 (17:11 -0700)
commit94a4f57d5373b1bc41f5f84e294e4ff3321dc1ef
treed0daec31814d40ab424660f37b5f1b05af2b7ab2
parent984785b13c50d813ed6a655deb667fb51ed5245a
farlook bullet-proofing

When examining a buried object (after detection has revealed it),
suppress setting of its dknown bit when hero is adjacent.  [That
couldn't actually happen, because the glyph on the map that we're
trying to examine would be replaced by one for whatever is on the
surface when sighted hero moved next to it, and an earlier clause
in the same test prevents blinded hero from getting to this point.]
src/pager.c