summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-11 00:41:28 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-11 00:41:28 +0000
commita84ce421489674dd1078dcf642011c8ef82b8cf3 (patch)
tree84a0f048e43b159f55761d447b70d32dd8bd3d93 /crawl-ref/source/player.cc
parentaece73f4451a17501468cae9df21daa6548432e1 (diff)
downloadcrawl-ref-a84ce421489674dd1078dcf642011c8ef82b8cf3.tar.gz
crawl-ref-a84ce421489674dd1078dcf642011c8ef82b8cf3.zip
Turning back on minimap for labyrinths, but fixing it so that it recenters during map rot, as if the forgotten squares were never seen. (Sorry, jpeg. If you can see it using 'X', I think you should be able to also see it on the minimap.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8404 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index e4f94a9a71..d35261d001 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -2926,6 +2926,10 @@ void forget_map(unsigned char chance_forgotten, bool force)
#endif
}
}
+
+#ifdef USE_TILE
+ tiles.update_minimap_bounds();
+#endif
}
void gain_exp( unsigned int exp_gained, unsigned int* actual_gain,