B04007 - invisible steed glyph while chatting and blind
Avoid ever putting an "I" on the hero's location by checking it in map_invisible(). It appeared there were a few other special cases that could call map_invisible() for actions involving the steed, so checking there catches them all.
This commit is contained in:
@@ -102,6 +102,7 @@ show artifact hit message which affect the monster that swallowed the hero
|
||||
revived pet corpse from bones file should not be loyal to current player
|
||||
finding a statue trap you are about to dig should stop your occupation
|
||||
try to keep saddle at the same location as the steed corpse
|
||||
never display I symbol on the mounted hero/steed location
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -272,9 +272,11 @@ void
|
||||
map_invisible(x, y)
|
||||
register xchar x, y;
|
||||
{
|
||||
if (level.flags.hero_memory)
|
||||
levl[x][y].glyph = GLYPH_INVISIBLE;
|
||||
show_glyph(x, y, GLYPH_INVISIBLE);
|
||||
if (x != u.ux || y != u.uy) { /* don't display I at hero's location */
|
||||
if (level.flags.hero_memory)
|
||||
levl[x][y].glyph = GLYPH_INVISIBLE;
|
||||
show_glyph(x, y, GLYPH_INVISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user