summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/uniques.des
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2010-01-17 23:59:31 -0500
committerCharles Otto <ottochar@gmail.com>2010-01-17 23:59:31 -0500
commitd4abb0d1e06a22934cc2b654b7753bb37473b8b1 (patch)
tree1e2d8ce842be8b973c1b652eee1c5960c8f11c40 /crawl-ref/source/dat/uniques.des
parent856be18105f4eb6e0639cef9475a322ad7832d27 (diff)
downloadcrawl-ref-d4abb0d1e06a22934cc2b654b7753bb37473b8b1.tar.gz
crawl-ref-d4abb0d1e06a22934cc2b654b7753bb37473b8b1.zip
Fix allies making a beeline for the map origin when out of LOS
Fix a bug introduced in commit 8e49c668 which caused the movement target of friendly monsters outside the players LOS to be set to (0,0). monsters::get_foe() returns NULL for friendly monsters with foe equal to MHITYOU, so it was not being used correctly in handle_behaviour (since this part of it is just concerned with where monsters are trying to move rather than what they will actually attack).
Diffstat (limited to 'crawl-ref/source/dat/uniques.des')
0 files changed, 0 insertions, 0 deletions