diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-28 20:12:19 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-28 20:12:19 +0000 |
commit | f05e54a08b3a192cb16ebe3c593c6f97d70226b4 (patch) | |
tree | afb6518c04e073003c142eaabded9cfe635ddc3d /crawl-ref/source/stuff.cc | |
parent | fd053dba7a45ba11a5238fb207ee939bfef14391 (diff) | |
download | crawl-ref-f05e54a08b3a192cb16ebe3c593c6f97d70226b4.tar.gz crawl-ref-f05e54a08b3a192cb16ebe3c593c6f97d70226b4.zip |
After some pointers from jpeg, rework the routine for monsters' leaving
the level to use the pathfinding routines for patrolling. The monsters
still sometimes disappear when near the exit instead of on it, which
needs to be fixed, but it's vastly closer to working properly.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6186 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index 8461fb0f4a..16b2f8e4e3 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -329,7 +329,7 @@ static bool tag_follower_at(const coord_def &pos) fmenv->flags |= MF_TAKING_STAIRS; // Clear patrolling/travel markers. - fmenv->patrol_point = coord_def(0,0); + fmenv->patrol_point = coord_def(0, 0); fmenv->travel_path.clear(); fmenv->travel_target = MTRAV_NONE; |