increases in explore time for city levels to a more reasonable level.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3108 c06c8d41-db1a-0410-9941-cceddc491573
BTLE3LHDYNCTGW36TBD7BWLRMGAYNQJ23KVD32ZCRESZEQXEMC2QC
set_target_square(target);
return;
// Auto-explore is only zigzagging if the prefered
// target (whereto) and the anti-zigzag target are
// close together.
if (grid_distance(target.x, target.y,
whereto.x, whereto.y) <= 5
&& (distance(target.x, target.y,
whereto.x, whereto.y) <= 34))
{
set_target_square(target);
return;
}
auto-explore. In most circumstances this will increase the
number of turns spent to auto-explore an entire level by
less than 1% (with a 2% increase the maximum), but with
a 7% to 13% increase in the Shoals and in city-type levels
such as those found in the Vaults.
auto-explore. On average it increases the number of turns taken
by about 0.9%, sometimes actually speeding it up slightly and
sometimes increasing the turns taken by up to 5%, with
pathological cases causing a 50% increase.