The delay might need tweaking.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9948 c06c8d41-db1a-0410-9941-cceddc491573
HYFO4VTAE3XVT6LZJCPM2TJCWGN4KOCHLFPWSOHXQ7P7QHVRPAUQC
76XAPPSY2BXXT7AC45TNI7DL7AP6242DXC45CDIZ6T3RN4ZI3R4AC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
// Abort if there are no hostiles within range, but flash the range // markers for about half a second. Options.target_range = _calc_spell_range(spell); viewwindow(true, false);
// Abort if there are no hostiles within range, but flash the range
// markers for about half a second.
Options.target_range = _calc_spell_range(spell);
viewwindow(true, false);
delay(500); Options.target_range = 0; viewwindow(true, false);
delay(500);
Options.target_range = 0;