summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index c082ac30cd..b088be9a35 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -5220,16 +5220,6 @@ bool monsters::mon_see_cell(const coord_def& p, bool reach) const
true, true));
}
-bool monsters::see_cell(const coord_def &c) const
-{
- // XXX: using env.show since that's been filled anywa.
- if (c == you.pos())
- return (you.see_cell(pos()));
-
- // TODO: Proper monster LOS.
- return (mon_see_cell(c));
-}
-
bool monsters::near_foe() const
{
const actor *afoe = get_foe();