diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 07:51:25 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-17 07:51:25 +0200 |
commit | dcc94e4df24a1111124d87532aaa263f55edf58d (patch) | |
tree | df911326b4c245006eb94761f76e1af4093bd2fc /crawl-ref/source/spells4.cc | |
parent | 4b9dbd4fc204e70ef70f57ec0096981787844f82 (diff) | |
download | crawl-ref-dcc94e4df24a1111124d87532aaa263f55edf58d.tar.gz crawl-ref-dcc94e4df24a1111124d87532aaa263f55edf58d.zip |
Naming consistency.
Mostly rename functions from terrain.h that accept features of typ
dgn_feature_type from grid_is_* to feat_is_*.
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 3f6f187090..075b0acf1b 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -934,7 +934,7 @@ static int _passwall(coord_def where, int pow, int, actor *) switch (grd(n)) { default: - if (grid_is_solid(grd(n))) + if (feat_is_solid(grd(n))) non_rock_barriers = true; done = true; break; @@ -1733,7 +1733,7 @@ bool cast_portal_projectile(int pow) if (item == -1) return (false); - if (grid_is_solid(target.target)) + if (cell_is_solid(target.target)) { mpr("You can't shoot at gazebos."); return (false); @@ -1758,7 +1758,7 @@ bool cast_portal_projectile(int pow) bool cast_apportation(int pow, const coord_def& where) { // Protect the player from destroying the item. - if (grid_destroys_items(grd(you.pos()))) + if (feat_destroys_items(grd(you.pos()))) { mpr( "That would be silly while over this terrain!" ); return (false); |