including the Amulet of Yendor
harassing monsters will be less likely to teleport to your location while
they're running away from you
+randomize warning symbols during hallucination
Platform- and/or Interface-Specific Fixes
-/* SCCS Id: @(#)display.c 3.4 2002/10/03 */
+/* SCCS Id: @(#)display.c 3.4 2003/02/19 */
/* Copyright (c) Dean Luick, with acknowledgements to Kevin Darcy */
/* and Dave Cohrs, 1990. */
/* NetHack may be freely redistributed. See license for details. */
if (mon_warning(mon)) {
if (wl > WARNCOUNT - 1) wl = WARNCOUNT - 1;
+ /* 3.4.1: this really ought to be rn2(WARNCOUNT), but value "0"
+ isn't handled correctly by the what_is routine so avoid it */
+ if (Hallucination) wl = rn1(WARNCOUNT-1,1);
glyph = warning_to_glyph(wl);
} else if (MATCH_WARN_OF_MON(mon)) {
glyph = mon_to_glyph(mon);