fake player creation on Astral
Reported by entrez: fake player monsters on the Astral Plane level were giving "<role> suddenly appears!" feedback if they could be seen or sensed when the hero arrived on that level. They're generated separately from the level itself so the message suppression in place during level creation didn't guard against it.
This commit is contained in:
@@ -1374,6 +1374,9 @@ command line processing interleaved with options file processing is complex:
|
||||
a recent change to make 'color' show up for tty in the short options
|
||||
menu resulted in 'nethack --windowtype:X11' running X11 with ascii map
|
||||
('NETHACKOPTIONS=windowtype:X11 nethack' continued to default to tiles)
|
||||
when the Astral level got created, any fake player character monsters that
|
||||
were seen or sensed when created were reported as "<mon> suddenly
|
||||
appears!" rather than be treated as part of level's initial population
|
||||
|
||||
curses: 'msg_window' option wasn't functional for curses unless the binary
|
||||
also included tty support
|
||||
|
||||
@@ -128,7 +128,7 @@ mk_mplayer(struct permonst *ptr, coordxy x, coordxy y, boolean special)
|
||||
if (!In_endgame(&u.uz))
|
||||
special = FALSE;
|
||||
|
||||
if ((mtmp = makemon(ptr, x, y, NO_MM_FLAGS)) != 0) {
|
||||
if ((mtmp = makemon(ptr, x, y, special ? MM_NOMSG : NO_MM_FLAGS)) != 0) {
|
||||
short weapon, armor, cloak, helm, shield;
|
||||
int quan;
|
||||
struct obj *otmp;
|
||||
|
||||
Reference in New Issue
Block a user