summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.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/spells1.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/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 57b01695a7..e400801e37 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -141,7 +141,7 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink)
mesclr();
mpr("You can't blink into the sea!");
}
- else if (see_grid_no_trans(beam.target))
+ else if (see_cell_no_trans(beam.target))
{
// Grid in los, no problem.
break;
@@ -393,8 +393,8 @@ void cast_chain_lightning(int pow)
}
}
- const bool see_source = see_grid( source );
- const bool see_targ = see_grid( target );
+ const bool see_source = see_cell( source );
+ const bool see_targ = see_cell( target );
if (target.x == -1)
{
@@ -414,7 +414,7 @@ void cast_chain_lightning(int pow)
else if (!see_source && see_targ)
mpr("The lightning arc suddenly appears!");
- if (!see_grid_no_trans( target ))
+ if (!see_cell_no_trans( target ))
{
// It's no longer in the caster's LOS and influence.
pow = pow / 2 + 1;