diff options
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 1cd9febc60..049f410a39 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -909,6 +909,10 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode, you.transit_stair, stair_taken, DNGN_UNSEEN); unwind_bool ylev(you.entering_level, true, false); + // Going up/down stairs, going through a portal, or being banished + // means the previous x/y movement direction is no longer valid. + you.reset_prev_move(); + const bool make_changes = (load_mode != LOAD_RESTART_GAME && load_mode != LOAD_VISITOR); |