summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-behv.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/mon-behv.cc
parentb7236c5810b553c903aee423f3e165ec3c2487e1 (diff)
downloadcrawl-ref-334afa25fe4c81f59c075f9c3ea9fe08c00fb2ab.tar.gz
crawl-ref-334afa25fe4c81f59c075f9c3ea9fe08c00fb2ab.zip
Use cell_is_solid where appropriate.
Diffstat (limited to 'crawl-ref/source/mon-behv.cc')
-rw-r--r--crawl-ref/source/mon-behv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-behv.cc b/crawl-ref/source/mon-behv.cc
index 10c2239536..4fd734d823 100644
--- a/crawl-ref/source/mon-behv.cc
+++ b/crawl-ref/source/mon-behv.cc
@@ -240,7 +240,7 @@ static void _set_curse_skull_lurk_pos(monster* mon)
vector<coord_def> spots;
for (adjacent_iterator ai(you.pos()); ai; ++ai)
{
- if (!feat_is_solid(grd(*ai)) || feat_is_door(grd(*ai)))
+ if (!cell_is_solid(*ai) || feat_is_door(grd(*ai)))
spots.push_back(*ai);
}