fixes entry and a display effect related to is_hider wishing
This commit is contained in:
@@ -66,6 +66,7 @@ thrown or kicked light source (lit lamp, candle, oil) should emit light as it
|
||||
unlike watching a monster trying to swap out a cursed weapon for some other
|
||||
weapon and failing, watching it wield a cursed weapon didn't report
|
||||
that weapon becoming welded to the monster's hand/claw/whatever
|
||||
debug mode wishing for hidden monsters that pass is_hider test
|
||||
|
||||
|
||||
Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository
|
||||
|
||||
15
src/read.c
15
src/read.c
@@ -2579,7 +2579,20 @@ struct _create_particular_data *d;
|
||||
if (d->sleeping)
|
||||
mtmp->msleeping = 1;
|
||||
if (d->hidden && is_hider(mtmp->data)) {
|
||||
mtmp->mundetected = 1;
|
||||
if (wizard && cansee(mtmp->mx, mtmp->my)) {
|
||||
int i, glyph[2];
|
||||
|
||||
glyph[0] = glyph_at(mtmp->mx, mtmp->my);
|
||||
mtmp->mundetected = 1;
|
||||
newsym(mtmp->mx, mtmp->my);
|
||||
glyph[1] = glyph_at(mtmp->mx, mtmp->my);
|
||||
if (!canseemon(mtmp) && !sensemon(mtmp))
|
||||
for (i = 0; i < 15; i++) {
|
||||
show_glyph(mtmp->mx, mtmp->my, glyph[i % 2]);
|
||||
flush_screen(1);
|
||||
delay_output();
|
||||
}
|
||||
}
|
||||
newsym(mtmp->mx, mtmp->my);
|
||||
}
|
||||
madeany = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user