summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/view.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-27 10:12:56 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-10-27 13:06:24 +0100
commit88b208ce6d41d2e9bf59a2b572a43d1f78ca3dd9 (patch)
treeaad23d67dd0e7e065e870bcd1db520f1fc5e62de /crawl-ref/source/view.h
parenta518714cb8090a529986c8909a2aa02a2fc0717f (diff)
downloadcrawl-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/view.h')
-rw-r--r--crawl-ref/source/view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h
index fd9c4dbf5f..e561040106 100644
--- a/crawl-ref/source/view.h
+++ b/crawl-ref/source/view.h
@@ -62,7 +62,7 @@ void init_monsters_seens();
void beogh_follower_convert(monsters *monster, bool orc_hit = false);
void slime_convert(monsters *monster);
-bool mons_near(const monsters *monster, unsigned short foe = MHITYOU);
+bool mons_near(const monsters *monster);
bool mon_enemies_around(const monsters *monster);
void find_features(const std::vector<coord_def>& features,