diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-13 15:00:57 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-13 15:22:16 +0100 |
commit | 310d0430888db20093a862e7921511076a486c6b (patch) | |
tree | da21a4f3e17b5bba68a0ce3fc31aceb4429fe775 /crawl-ref/source/spells4.cc | |
parent | d4189cb0308511fc5d7e12790993f6844974e0c7 (diff) | |
download | crawl-ref-310d0430888db20093a862e7921511076a486c6b.tar.gz crawl-ref-310d0430888db20093a862e7921511076a486c6b.zip |
Replace observe_cell by you.see_cell.
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index 86d344f25d..83840ea20d 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -224,7 +224,7 @@ static int _shatter_walls(coord_def where, int pow, int, actor *) switch (grid) { case DNGN_SECRET_DOOR: - if (observe_cell(where)) + if (you.see_cell(where)) mpr("A secret door shatters!"); chance = 100; break; @@ -232,7 +232,7 @@ static int _shatter_walls(coord_def where, int pow, int, actor *) case DNGN_CLOSED_DOOR: case DNGN_DETECTED_SECRET_DOOR: case DNGN_OPEN_DOOR: - if (observe_cell(where)) + if (you.see_cell(where)) mpr("A door shatters!"); chance = 100; break; |