summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-proclayouts.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-10-31 23:53:20 -0400
committerNeil Moore <neil@s-z.org>2013-11-01 00:02:55 -0400
commit334afa25fe4c81f59c075f9c3ea9fe08c00fb2ab (patch)
tree8db4eb78ec031906c4dd8ede40cd3d706a5a982f /crawl-ref/source/dgn-proclayouts.cc
parentb7236c5810b553c903aee423f3e165ec3c2487e1 (diff)
downloadcrawl-ref-334afa25fe4c81f59c075f9c3ea9fe08c00fb2ab.tar.gz
crawl-ref-334afa25fe4c81f59c075f9c3ea9fe08c00fb2ab.zip
Use cell_is_solid where appropriate.
Diffstat (limited to 'crawl-ref/source/dgn-proclayouts.cc')
-rw-r--r--crawl-ref/source/dgn-proclayouts.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-proclayouts.cc b/crawl-ref/source/dgn-proclayouts.cc
index c8358079c7..587f5eee47 100644
--- a/crawl-ref/source/dgn-proclayouts.cc
+++ b/crawl-ref/source/dgn-proclayouts.cc
@@ -240,7 +240,7 @@ LevelLayout::LevelLayout(level_id id, uint32_t _seed, const ProceduralLayout &_l
uint32_t solid_count = 0;
for (adjacent_iterator ai(*ri); ai; ++ai)
- solid_count += feat_is_solid(grd(*ai));
+ solid_count += cell_is_solid(*ai);
coord_def p = *ri;
uint64_t base = hash3(p.x, p.y, seed);
int div = base % 2 ? 12 : 11;