diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-27 15:11:04 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-27 15:11:04 +0000 |
commit | 97d889a6a77d15d59dd0f67da91df989e91c4b38 (patch) | |
tree | 72ca649548748b4ed5f0141ea228509bcf105d49 /crawl-ref/source/files.cc | |
parent | 70b5c50203d97149717154d3475738122aca03bf (diff) | |
download | crawl-ref-97d889a6a77d15d59dd0f67da91df989e91c4b38.tar.gz crawl-ref-97d889a6a77d15d59dd0f67da91df989e91c4b38.zip |
Fix [1949495]: After applying an effect to all dungeons, such as holy
beings' getting their attitude change flag cleared upon gaining piety
with a good god, player centering will occur even when e.g.
Options.view_lock is false.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4695 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 10c095a2e0..998ac5faa0 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1079,7 +1079,7 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode, else you.moveto(45, 35); } - crawl_view.set_player_at(you.pos(), true); + crawl_view.set_player_at(you.pos(), load_mode != LOAD_VISITOR); // This should fix the "monster occurring under the player" bug? if (make_changes && mgrd[you.x_pos][you.y_pos] != NON_MONSTER) |