diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-27 10:12:56 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-27 13:06:24 +0100 |
commit | 88b208ce6d41d2e9bf59a2b572a43d1f78ca3dd9 (patch) | |
tree | aad23d67dd0e7e065e870bcd1db520f1fc5e62de /crawl-ref/source/monster.h | |
parent | a518714cb8090a529986c8909a2aa02a2fc0717f (diff) | |
download | crawl-ref-88b208ce6d41d2e9bf59a2b572a43d1f78ca3dd9.tar.gz crawl-ref-88b208ce6d41d2e9bf59a2b572a43d1f78ca3dd9.zip |
Get rid of part of mons_near.
mons_near now only checks player proximity. Checking for foe
proximity is now handled by monsters::near_foe.
Diffstat (limited to 'crawl-ref/source/monster.h')
-rw-r--r-- | crawl-ref/source/monster.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.h b/crawl-ref/source/monster.h index 41c17ecbfd..27ac976b07 100644 --- a/crawl-ref/source/monster.h +++ b/crawl-ref/source/monster.h @@ -302,6 +302,8 @@ public: 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; bool is_fiery() const; bool paralysed() const; |