summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-11-13 15:00:57 +0100
committerRobert Vollmert <rvollmert@gmx.net>2009-11-13 15:22:16 +0100
commit310d0430888db20093a862e7921511076a486c6b (patch)
treeda21a4f3e17b5bba68a0ce3fc31aceb4429fe775 /crawl-ref/source/directn.cc
parentd4189cb0308511fc5d7e12790993f6844974e0c7 (diff)
downloadcrawl-ref-310d0430888db20093a862e7921511076a486c6b.tar.gz
crawl-ref-310d0430888db20093a862e7921511076a486c6b.zip
Replace observe_cell by you.see_cell.
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 3d225bfd6c..abca5f8fd4 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -1756,7 +1756,7 @@ std::string get_terse_square_desc(const coord_def &gc)
desc = you.your_name;
else if (!map_bounds(gc))
desc = unseen_desc;
- else if (!observe_cell(gc))
+ else if (!you.see_cell(gc))
{
if (is_terrain_seen(gc))
{
@@ -1792,7 +1792,7 @@ std::string get_terse_square_desc(const coord_def &gc)
void terse_describe_square(const coord_def &c, bool in_range)
{
- if (!observe_cell(c))
+ if (!you.see_cell(c))
_describe_oos_square(c);
else if (in_bounds(c) )
_describe_cell(c, in_range);
@@ -1804,7 +1804,7 @@ void get_square_desc(const coord_def &c, describe_info &inf,
// NOTE: Keep this function in sync with full_describe_square.
// Don't give out information for things outside LOS
- if (!observe_cell(c))
+ if (!you.see_cell(c))
return;
const monsters* mons = monster_at(c);
@@ -1847,7 +1847,7 @@ void full_describe_square(const coord_def &c)
// NOTE: Keep this function in sync with get_square_desc.
// Don't give out information for things outside LOS
- if (!observe_cell(c))
+ if (!you.see_cell(c))
return;
const monsters* mons = monster_at(c);