]> granicus.if.org Git - nethack/commit
display glitch: warning vs remembered,unseen
authorPatR <rankin@nethack.org>
Thu, 26 Apr 2018 22:07:00 +0000 (15:07 -0700)
committerPatR <rankin@nethack.org>
Thu, 26 Apr 2018 22:07:00 +0000 (15:07 -0700)
commit78fe5fbb059686573f4f05b8ac3460def02686dc
treeb45a8ed636850df188bb165e5b3a7ada8397570f
parent72d38f1f6733ec24dbba6b0f9334b9a729b5ae32
display glitch: warning vs remembered,unseen

Noticed while testing the fix for the recently reported clairvoyance
bug.  I saw a '1' move onto an 'I', then when it moved again the 'I'
reappeared.  The remembered unseen monster couldn't be there anymore
if the warned-of monster was able to walk through that spot, so
remove any 'I' when showing a warning (digit) to stop remembering an
unseen monster at the warning spot.

Nobody has ever reported this so fixing it isn't urgent, but fixing
it is trivial so I'm doing it in now (without the clairvoyance fix).
doc/fixes36.1
src/display.c