summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/terrain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/terrain.cc')
-rw-r--r--crawl-ref/source/terrain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/terrain.cc b/crawl-ref/source/terrain.cc
index f28062d5e2..c84ec17033 100644
--- a/crawl-ref/source/terrain.cc
+++ b/crawl-ref/source/terrain.cc
@@ -425,7 +425,7 @@ void dungeon_terrain_changed(const coord_def &pos,
{
if (!grid_is_solid(grd(pos)))
{
- if (!you.flies())
+ if (!you.airborne())
move_player_to_grid(pos.x, pos.y, false, true, false);
}
else