From 75f050a1f444218779664df85a44b856e4f35c6f Mon Sep 17 00:00:00 2001 From: ennewalker Date: Sat, 3 Jan 2009 19:42:10 +0000 Subject: [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 --- crawl-ref/source/files.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/files.cc') 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 -- cgit v1.2.3-54-g00ecf