When calculating distances for monsters leaving the level, use

grid_distance() instead of distance(), as most other pathfinding-related code seems to do so.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6024 c06c8d41-db1a-0410-9941-cceddc491573

Created by  dolorous  on June 20, 2008
REOC4SN5SYUZ6IDLV6I6XZ4MPKE36VAJXLCZ2SXYYZB3RECLXSLQC
Change contents