diff options
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index b868e61bee..020bc11f50 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -3760,7 +3760,8 @@ static void move_player(int move_x, int move_y) { you.time_taken *= player_movement_speed(); you.time_taken /= 10; - move_player_to_grid(targ_x, targ_y, true, false, swap); + if (!move_player_to_grid(targ_x, targ_y, true, false, swap)) + return; if (you.mutation[MUT_DRIFTING] && (random2(100) <= you.mutation[MUT_DRIFTING] * 5) ) |