summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index abd9b69748..b4b02a9c02 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6903,14 +6903,6 @@ bool player::see_cell(const coord_def &c) const
return (::see_cell(c));
}
-bool player::can_see(const actor *target) const
-{
- if (crawl_state.arena)
- return target->visible_to(this);
-
- return (target->visible_to(this) && see_cell(target->pos()));
-}
-
bool player::backlit(bool check_haloed) const
{
return (get_contamination_level() > 0 || duration[DUR_BACKLIGHT]