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/mon-util.h | |
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/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index 8f87ebd267..f5189ca2a6 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -657,7 +657,6 @@ bool mons_is_seeking(const monsters *m); bool mons_is_fleeing(const monsters *m); bool mons_is_panicking(const monsters *m); bool mons_is_cornered(const monsters *m); -bool mons_is_leaving(const monsters *m); bool mons_is_lurking(const monsters *m); bool mons_is_batty(const monsters *m); bool mons_was_seen(const monsters *m); |