summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/los.cc2
-rw-r--r--crawl-ref/source/player.cc6
-rw-r--r--crawl-ref/source/player.h1
3 files changed, 1 insertions, 8 deletions
diff --git a/crawl-ref/source/los.cc b/crawl-ref/source/los.cc
index e28f91e94a..1d68cef75c 100644
--- a/crawl-ref/source/los.cc
+++ b/crawl-ref/source/los.cc
@@ -1008,7 +1008,7 @@ void calc_show_los()
if (!crawl_state.arena && !crawl_state.arena_suspended)
{
losight(env.show_los, you.pos());
-
+ you.update_los();
// What would be visible, if all of the translucent walls were
// made opaque.
// XXX: figure out what this should really do.
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index dbbec6e49e..5dd852ff30 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6903,12 +6903,6 @@ bool player::visible_to(const actor *looker) const
mon->can_see_invisible() || mons_sense_invis(mon));
}
-bool player::see_cell(const coord_def &c) const
-{
- // TODO: give player own LOS.
- return (observe_cell(c));
-}
-
bool player::backlit(bool check_haloed) const
{
return (get_contamination_level() > 0 || duration[DUR_BACKLIGHT]
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index b2e9031e1d..0ea3752a17 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -317,7 +317,6 @@ public:
bool can_see_invisible() const;
bool can_see_invisible(bool unid) const;
bool visible_to(const actor *looker) const;
- bool see_cell(const coord_def &c) const;
bool is_icy() const;
bool is_fiery() const;