diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-06 19:25:37 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-06 19:26:33 +0100 |
commit | 8786fef5e47392ca5c3daa8e932c10e7c1ef9715 (patch) | |
tree | 88a59a682b4a82ce44b0c1f3b9a3a59ecee624a5 /crawl-ref/source/monster.h | |
parent | f626e442c7a77191a145825507610d3b1ef40ab3 (diff) | |
download | crawl-ref-8786fef5e47392ca5c3daa8e932c10e7c1ef9715.tar.gz crawl-ref-8786fef5e47392ca5c3daa8e932c10e7c1ef9715.zip |
Implement actor::can_see.
This just relies on actor::visible_to and actor::see_cell. An arena
special case was removed.
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r-- | crawl-ref/source/monster.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h index d19af87d5f..5138f6b6f7 100644 --- a/crawl-ref/source/monster.h +++ b/crawl-ref/source/monster.h @@ -317,7 +317,6 @@ public: bool visible_to(const actor *looker) const; bool mon_see_cell(const coord_def& pos, bool reach = false) const; bool see_cell(const coord_def& c) const; - bool can_see(const actor *target) const; bool near_foe() const; bool is_icy() const; |