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 f08a824b89..b9d528b703 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -223,7 +223,7 @@ static int _shatter_walls(coord_def where, int pow, int, actor *)
switch (grid)
{
case DNGN_SECRET_DOOR:
- if (see_cell(where))
+ if (observe_cell(where))
mpr("A secret door shatters!");
chance = 100;
break;
@@ -231,7 +231,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 (see_cell(where))
+ if (observe_cell(where))
mpr("A door shatters!");
chance = 100;
break;