Unify blind feel_location or newsym info single func

This commit is contained in:
Pasi Kallinen
2015-11-09 21:37:28 +02:00
parent 7132f56901
commit 2c0f24896f
8 changed files with 29 additions and 44 deletions

View File

@@ -486,6 +486,23 @@ register struct monst *mon;
show_glyph(x, y, glyph);
}
/*
* feel_newsym()
*
* When hero knows what happened to location, even when blind.
*/
void
feel_newsym(x, y)
xchar x, y;
{
if (Blind)
feel_location(x, y);
else
newsym(x, y);
}
/*
* feel_location()
*