diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-19 19:01:25 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-19 19:01:25 +0000 |
commit | 5f61c3caf7af3eee7467d860d4b284bbcd7b6f70 (patch) | |
tree | d33179e3fb1621d71e748bbccc7fa37f505eec21 /crawl-ref/source/externs.h | |
parent | 0ee4e39dafef899a70bb27ad6604cc3e642f3753 (diff) | |
download | crawl-ref-5f61c3caf7af3eee7467d860d4b284bbcd7b6f70.tar.gz crawl-ref-5f61c3caf7af3eee7467d860d4b284bbcd7b6f70.zip |
Fix 1858979: Monsters being capable to reach through wallsl.
(And some cleanup.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5136 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r-- | crawl-ref/source/externs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h index 432b4eee52..5c70f5e1f5 100644 --- a/crawl-ref/source/externs.h +++ b/crawl-ref/source/externs.h @@ -1209,7 +1209,7 @@ public: bool invisible() const; bool can_see_invisible() const; bool visible_to(const actor *looker) const; - bool mon_see_grid(int tx, int ty) const; + bool mon_see_grid(int tx, int ty, bool reach = false) const; bool can_see(const actor *target) const; bool is_icy() const; bool paralysed() const; |