diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 00:16:20 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 00:16:20 +0200 |
commit | 241ceb5971b5c87b58e7f28f9fee417230561a5d (patch) | |
tree | 8e3a0781c9ba03971f8880fe6923337a50f45409 /crawl-ref/source/spells4.cc | |
parent | f6e6b6b7151af9290c0597acb1995ed157378529 (diff) | |
download | crawl-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.cc | 6 |
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; |