From dcc94e4df24a1111124d87532aaa263f55edf58d Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 17 Oct 2009 07:51:25 +0200 Subject: Naming consistency. Mostly rename functions from terrain.h that accept features of typ dgn_feature_type from grid_is_* to feat_is_*. --- crawl-ref/source/spells4.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/spells4.cc') 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); -- cgit v1.2.3-54-g00ecf