summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.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/spells1.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/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 9ba939477d..da3b065aea 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -434,8 +434,8 @@ void cast_chain_lightning(int pow, const actor *caster)
}
}
- const bool see_source = observe_cell( source );
- const bool see_targ = observe_cell( target );
+ const bool see_source = you.see_cell( source );
+ const bool see_targ = you.see_cell( target );
if (target.x == -1)
{