summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-03 19:42:10 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-03 19:42:10 +0000
commit75f050a1f444218779664df85a44b856e4f35c6f (patch)
tree75337c4e44618efda51a4eb9f1ab1b970fc9072d /crawl-ref/source/files.cc
parentc5e23e5f34cef7260911c2b82ebb5708e5a5f9b2 (diff)
downloadcrawl-ref-75f050a1f444218779664df85a44b856e4f35c6f.tar.gz
crawl-ref-75f050a1f444218779664df85a44b856e4f35c6f.zip
[2483963] Fixing minimap not updating properly when reloading a game.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8177 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index bf29bea20a..e857b5f177 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -1120,7 +1120,7 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
_do_lost_items(old_level_type);
#ifdef USE_TILE
- if (make_changes)
+ if (load_mode != LOAD_VISITOR)
{
tiles.clear_minimap();
tiles.load_dungeon(NULL, crawl_view.vgrdc);
@@ -1248,7 +1248,7 @@ bool load( dungeon_feature_type stair_taken, load_mode_type load_mode,
}
#ifdef USE_TILE
- if (make_changes)
+ if (load_mode != LOAD_VISITOR)
TileNewLevel(just_created_level);
#endif