formatting fixups

Presence of trailing whitespace pointed out so post-reformatting
non-conformant formatting.
This commit is contained in:
PatR
2016-04-20 16:43:33 -07:00
parent 1cad2bd783
commit 573fff466e
2 changed files with 45 additions and 52 deletions

View File

@@ -1463,20 +1463,17 @@ dosearch()
void
warnreveal()
{
xchar x, y;
int x, y;
struct monst *mtmp;
for (x = u.ux - 1; x < u.ux + 2; x++)
for (y = u.uy - 1; y < u.uy + 2; y++) {
if (!isok(x, y))
continue;
if (x == u.ux && y == u.uy)
continue;
if ((mtmp = m_at(x, y)) != 0
&& warning_of(mtmp) && mtmp->mundetected)
(void) mfind0(mtmp, 1); /* via_warning */
}
for (x = u.ux - 1; x <= u.ux + 1; x++)
for (y = u.uy - 1; y <= u.uy + 1; y++) {
if (!isok(x, y) || (x == u.ux && y == u.uy))
continue;
if ((mtmp = m_at(x, y)) != 0
&& warning_of(mtmp) && mtmp->mundetected)
(void) mfind0(mtmp, 1); /* via_warning */
}
}
/* Pre-map the sokoban levels */