summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-transloc.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/spl-transloc.cc
parentb7236c5810b553c903aee423f3e165ec3c2487e1 (diff)
downloadcrawl-ref-334afa25fe4c81f59c075f9c3ea9fe08c00fb2ab.tar.gz
crawl-ref-334afa25fe4c81f59c075f9c3ea9fe08c00fb2ab.zip
Use cell_is_solid where appropriate.
Diffstat (limited to 'crawl-ref/source/spl-transloc.cc')
-rw-r--r--crawl-ref/source/spl-transloc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-transloc.cc b/crawl-ref/source/spl-transloc.cc
index 40e35831ff..6b50899d27 100644
--- a/crawl-ref/source/spl-transloc.cc
+++ b/crawl-ref/source/spl-transloc.cc
@@ -264,10 +264,10 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink,
// Allow wizard blink to send player into walls, in case the
// user wants to alter that grid to something else.
- if (wizard_blink && feat_is_solid(grd(beam.target)))
+ if (wizard_blink && cell_is_solid(beam.target))
grd(beam.target) = DNGN_FLOOR;
- if (feat_is_solid(grd(beam.target)) || monster_at(beam.target))
+ if (cell_is_solid(beam.target) || monster_at(beam.target))
{
mpr("Oops! Maybe something was there already.");
random_blink(false);