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 4a9a930174..a8c6fc2981 100644
--- a/crawl-ref/source/terrain.cc
+++ b/crawl-ref/source/terrain.cc
@@ -427,7 +427,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