-$NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.446 $ $NHDT-Date: 1524689549 2018/04/25 20:52:29 $
+$NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.448 $ $NHDT-Date: 1524780380 2018/04/26 22:06:20 $
General Fixes and Modified Features
-----------------------------------
reorder the #droptype menu and add some separator lines
moving from a pit to an adjacent pit with uncleared debris shouldn't be a fall
open drawbridge spanning ice would vanish if the ice melted
+if a warned-of mon moved onto a spot containing a 'remembered, unseen mon'
+ then moved off, the unseen marker was redisplayed even though the
+ hero should now know that the remembered monster isn't there anymore
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
-/* NetHack 3.6 display.c $NHDT-Date: 1496101037 2017/05/29 23:37:17 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.87 $ */
+/* NetHack 3.6 display.c $NHDT-Date: 1524780381 2018/04/26 22:06:21 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.90 $ */
/* Copyright (c) Dean Luick, with acknowledgements to Kevin Darcy */
/* and Dave Cohrs, 1990. */
/* NetHack may be freely redistributed. See license for details. */
impossible("display_warning did not match warning type?");
return;
}
+ /* warning glyph is drawn on the monster layer; unseen
+ monster glyph is drawn on the object/trap/floor layer;
+ if we see a 'warning' move onto 'remembered, unseen' we
+ need to explicitly remove that in order for it to not
+ reappear when the warned-of monster moves off that spot */
+ if (glyph_is_invisible(levl[x][y].glyph))
+ unmap_object(x, y);
show_glyph(x, y, glyph);
}