Merge branch 'NetHack-3.7' into to500
This commit is contained in:
@@ -822,7 +822,18 @@ vision_recalc(int control)
|
|||||||
if ((old_row[col] & IN_SIGHT)
|
if ((old_row[col] & IN_SIGHT)
|
||||||
|| ((next_row[col] & COULD_SEE)
|
|| ((next_row[col] & COULD_SEE)
|
||||||
^ (old_row[col] & COULD_SEE)))
|
^ (old_row[col] & COULD_SEE)))
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* TEMPORARY? Sometimes we get here with col==0 and
|
||||||
|
* newsym()'s impossible() for !isok() is being
|
||||||
|
* triggered, so avoid calling it for <0,y>; other bad
|
||||||
|
* coordinates will produce a panic() as they should.
|
||||||
|
*/
|
||||||
|
if (col != 0)
|
||||||
|
/*
|
||||||
|
*/
|
||||||
newsym(col, row);
|
newsym(col, row);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} /* end for col . . */
|
} /* end for col . . */
|
||||||
|
|||||||
Reference in New Issue
Block a user