summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-17 00:16:20 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-17 00:16:20 +0200
commit241ceb5971b5c87b58e7f28f9fee417230561a5d (patch)
tree8e3a0781c9ba03971f8880fe6923337a50f45409 /crawl-ref/source/spells4.cc
parentf6e6b6b7151af9290c0597acb1995ed157378529 (diff)
downloadcrawl-ref-241ceb5971b5c87b58e7f28f9fee417230561a5d.tar.gz
crawl-ref-241ceb5971b5c87b58e7f28f9fee417230561a5d.zip
Globally replace see_grid by see_cell.
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 0339e79934..3c10f9385a 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -221,7 +221,7 @@ static int _shatter_walls(coord_def where, int pow, int, actor *)
switch (grid)
{
case DNGN_SECRET_DOOR:
- if (see_grid(where))
+ if (see_cell(where))
mpr("A secret door shatters!");
chance = 100;
break;
@@ -229,7 +229,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_grid(where))
+ if (see_cell(where))
mpr("A door shatters!");
chance = 100;
break;
@@ -1969,7 +1969,7 @@ static int _quadrant_blink(coord_def where, int pow, int, actor *)
if (distance(base, target) > 10 || distance(you.pos(), target) < 8)
continue;
- if (!see_grid_no_trans(target))
+ if (!see_cell_no_trans(target))
continue;
found = true;