Update monster's LOS if close enough to the player.
commitb08a7f0fcc5bc57d463a480fd023d63dbf516e66
authorRobert Vollmert <rvollmert@gmx.net>
Thu, 4 Mar 2010 20:13:25 +0000 (4 21:13 +0100)
committerJesse Luehrs <doy@tozt.net>
Fri, 5 Mar 2010 08:12:06 +0000 (5 02:12 -0600)
tree94ea7d91cfedb72985740ae5764d4cf94d5c9ff6
parentfa0476c124068a6aefd6cbc09c841c86a18a53d1
Update monster's LOS if close enough to the player.

Previously we skipped this if the monster couldn't be seen, but
that may mean the monster thinks it can still see the player if say
a door has been closed or the player has read ?fog.

Fixes issue #1007.
(cherry picked from commit 317d40a99d401d8a9446841a05cf6c99eae2b446)
crawl-ref/source/actor-los.cc