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/cloud.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/cloud.cc')
-rw-r--r-- | crawl-ref/source/cloud.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc index ce99e8de5c..f0d3146cf9 100644 --- a/crawl-ref/source/cloud.cc +++ b/crawl-ref/source/cloud.cc @@ -114,7 +114,7 @@ static int _spread_cloud(const cloud_struct &cloud) if (!in_bounds(*ai) || env.cgrid(*ai) != EMPTY_CLOUD - || grid_is_solid(grd(*ai)) + || feat_is_solid(grd(*ai)) || is_sanctuary(*ai) && !is_harmless_cloud(cloud.type)) { continue; @@ -145,7 +145,7 @@ static void _spread_fire(const cloud_struct &cloud) continue; // burning trees produce flames all around - if (!grid_is_solid(*ai) && make_flames) + if (!cell_is_solid(*ai) && make_flames) _place_new_cloud( CLOUD_FIRE, *ai, cloud.decay/2+1, cloud.whose, cloud.killer, cloud.spread_rate ); |