summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tileview.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-12-14 00:26:02 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-12-14 01:02:32 +0100
commit718bcb9d3775cf76b54a5b97915798404a05e29c (patch)
treebc4d1c362f845bbecb01e0559a4083a24185c851 /crawl-ref/source/tileview.h
parenta3da847f028ccdb3be013d014f0fa0be2443c0fc (diff)
downloadcrawl-ref-718bcb9d3775cf76b54a5b97915798404a05e29c.tar.gz
crawl-ref-718bcb9d3775cf76b54a5b97915798404a05e29c.zip
Fix #2754: switching from console to tiles now displays map properly.
Diffstat (limited to 'crawl-ref/source/tileview.h')
-rw-r--r--crawl-ref/source/tileview.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/tileview.h b/crawl-ref/source/tileview.h
index 818741b698..1555b0dfe4 100644
--- a/crawl-ref/source/tileview.h
+++ b/crawl-ref/source/tileview.h
@@ -19,7 +19,12 @@ class monster;
class tile_flavour;
// Initialize the flavour and the tile env when changing or creating levels.
-void tile_new_level(bool first_time);
+void tile_new_level(bool first_time, bool init_unseen);
+
+inline void tile_new_level(bool first_time)
+{
+ return tile_new_level(first_time, first_time);
+}
// Tile flavour