fix B3032 -- wand of speed monster id
Make wands of speed or slow monster known if their effect on monsters is observed; likewise for speed boots. Also, avoid giving odd "the bat is moving faster" when seeing a bat created in gehennom and inaccurate "the monster is moving slower" when a monster puts on speed boots.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)makemon.c 3.4 2001/11/07 */
|
||||
/* SCCS Id: @(#)makemon.c 3.4 2002/02/07 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -928,7 +928,7 @@ register int mmflags;
|
||||
break;
|
||||
case S_BAT:
|
||||
if (Inhell && is_bat(ptr))
|
||||
mon_adjust_speed(mtmp, 2);
|
||||
mon_adjust_speed(mtmp, 2, (struct obj *)0);
|
||||
break;
|
||||
}
|
||||
if ((ct = emits_light(mtmp->data)) > 0)
|
||||
|
||||
Reference in New Issue
Block a user