summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-16 03:51:01 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-16 03:51:01 +0000
commit545b45725085f4c2c09c2cf8275466b80645cb98 (patch)
tree4a3f474ac322a95bebda05f9ee197f05738a1b28
parentd6dc4cd62e84baedf1b9e8885f2f7c1685c3f52d (diff)
downloadcrawl-ref-545b45725085f4c2c09c2cf8275466b80645cb98.tar.gz
crawl-ref-545b45725085f4c2c09c2cf8275466b80645cb98.zip
[2098136] Fixing old 0.4 issue about the tile_show_items option not being set to a reasonable default value, so if the init.txt file wasn't found, then no inventory would be shown.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@7843 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/settings/tiles_options.txt2
-rw-r--r--crawl-ref/source/initfile.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/settings/tiles_options.txt b/crawl-ref/settings/tiles_options.txt
index 629b192a65..9cdd3502b0 100644
--- a/crawl-ref/settings/tiles_options.txt
+++ b/crawl-ref/settings/tiles_options.txt
@@ -1,7 +1,7 @@
### The following lines define the colours of various objects within the
### tiles minimap. See options_guide.txt for more details.
-tile_show_items = !?/%=([)X}+\_.
+# tile_show_items = !?/%=([)X}+\_.
# tile_title_screen = false
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 4db8cb975e..b353231302 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -828,7 +828,7 @@ void game_options::reset_options()
#endif
#ifdef USE_TILE
- tile_show_items[0] = '0';
+ strcpy(tile_show_items, "!?/%=([)X}+\\_.");
tile_title_screen = true;
// minimap colours
tile_player_col = MAP_WHITE;