diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-02-23 00:34:10 +0100 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-02-23 00:34:10 +0100 |
commit | 4ac34420af21ee98b6de0237f022fbdea8c25ce6 (patch) | |
tree | c56301ad6af45b80cb777ef56db95fb2009c48fe /crawl-ref/source/mon-pathfind.h | |
parent | f664a849fe424911dce7735d7be6cbecd9175afb (diff) | |
download | crawl-ref-4ac34420af21ee98b6de0237f022fbdea8c25ce6.tar.gz crawl-ref-4ac34420af21ee98b6de0237f022fbdea8c25ce6.zip |
Implement proper pathfinding for clinging spiders.
Diffstat (limited to 'crawl-ref/source/mon-pathfind.h')
-rw-r--r-- | crawl-ref/source/mon-pathfind.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-pathfind.h b/crawl-ref/source/mon-pathfind.h index 2bfeca75ad..ffe9c5e5e6 100644 --- a/crawl-ref/source/mon-pathfind.h +++ b/crawl-ref/source/mon-pathfind.h @@ -42,6 +42,9 @@ protected: // Our destination, and the current position we're looking at. coord_def start, target, pos; + // Can the actor cling at the current positon. + bool clinging; + // If false, do not move diagonally along the path. bool allow_diagonals; |