diff options
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index e9b0e6cc40..a7c00c9481 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1576,7 +1576,8 @@ static bool _teleport_player(bool allow_control, bool new_abyss_area) || grd(newpos) != DNGN_DEEP_WATER) || monster_at(newpos) || env.cgrid(newpos) != EMPTY_CLOUD - || need_distance_check && (newpos - centre).abs() < 34*34); + || need_distance_check && (newpos - centre).abs() < 34*34 + || testbits(env.map(newpos).property, FPROP_NO_RTELE_INTO)); if ( newpos == you.pos() ) mpr("Your surroundings flicker for a moment."); |