summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ctest.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-11-07 18:10:51 -0500
committerCharles Otto <ottochar@gmail.com>2009-11-07 18:11:24 -0500
commit6b6ba7b163b1c716f419ec0cbcb12fbb96525888 (patch)
tree6a1a57e187f271b55f3225e419fea62639d849a8 /crawl-ref/source/ctest.cc
parent1b6b5735d019d49a580693b30687bbf149ae5e59 (diff)
downloadcrawl-ref-6b6ba7b163b1c716f419ec0cbcb12fbb96525888.tar.gz
crawl-ref-6b6ba7b163b1c716f419ec0cbcb12fbb96525888.zip
Avoid an infinite loop in tilse related to Feawn neutralizing plants
Avoid an infinite loop caused caused by calling remove_auto_exclude on plants that get neutralized by Feawn. feawn_neutralise is called via viewwindow, and it was calling remove_auto_exclude, in tiles remove_auto_exclude calls viewwindow creating an infinite loop. Instead of calling remove_auto_exclude directly I added an attitude check to maybe_remove_autoexclusion which is (safely) called from viewwindow already.
Diffstat (limited to 'crawl-ref/source/ctest.cc')
0 files changed, 0 insertions, 0 deletions