summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc4
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;