summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-pathfind.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-02-23 00:34:10 +0100
committerRaphael Langella <raphael.langella@gmail.com>2011-02-23 00:34:10 +0100
commit4ac34420af21ee98b6de0237f022fbdea8c25ce6 (patch)
treec56301ad6af45b80cb777ef56db95fb2009c48fe /crawl-ref/source/mon-pathfind.h
parentf664a849fe424911dce7735d7be6cbecd9175afb (diff)
downloadcrawl-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.h3
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;