summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-mon.cc
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-24 22:57:36 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-24 22:57:36 -0800
commit7f10f7daeea7673be54825a2551a65cbe37d6c52 (patch)
tree3d5c4d5642c70b713a1b0e09bfc73f237475a9c9 /crawl-ref/source/wiz-mon.cc
parent1bf16fdce2e5eda3a82868f8e29bbbd5797be290 (diff)
downloadcrawl-ref-7f10f7daeea7673be54825a2551a65cbe37d6c52.tar.gz
crawl-ref-7f10f7daeea7673be54825a2551a65cbe37d6c52.zip
Wiz cmd pathfind: print diagnostic messages
Diffstat (limited to 'crawl-ref/source/wiz-mon.cc')
-rw-r--r--crawl-ref/source/wiz-mon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-mon.cc b/crawl-ref/source/wiz-mon.cc
index f85c5eeef6..4990bcd74a 100644
--- a/crawl-ref/source/wiz-mon.cc
+++ b/crawl-ref/source/wiz-mon.cc
@@ -1078,7 +1078,7 @@ void debug_pathfind(int mid)
mprf("Attempting to calculate a path from (%d, %d) to (%d, %d)...",
mon.pos().x, mon.pos().y, dest.x, dest.y);
monster_pathfind mp;
- bool success = mp.init_pathfind(&mon, dest, true);
+ bool success = mp.init_pathfind(&mon, dest, true, true);
if (success)
{
std::vector<coord_def> path = mp.backtrack();