From f116902db8e7f917df91a3a1e775cc43cf7dd47a Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 30 Mar 2008 20:43:15 +0000 Subject: Fix 1921769: Exclusion squares on the tiles minimap sometimes not being updated. Also add yet another minimap colour option for the centre of an exclusion (defaults to darkblue). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3958 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/initfile.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crawl-ref/source/initfile.cc') diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc index fa50bf5ab3..35582ac183 100644 --- a/crawl-ref/source/initfile.cc +++ b/crawl-ref/source/initfile.cc @@ -825,6 +825,7 @@ void game_options::reset_options() tile_water_col = MAP_MDGREY; tile_lava_col = MAP_MDGREY; tile_excluded_col = MAP_DKCYAN; + tile_excl_centre_col = MAP_DKBLUE; #endif #ifdef WIN32TILES @@ -2834,6 +2835,11 @@ void game_options::read_option_line(const std::string &str, bool runscript) tile_excluded_col = _str_to_tile_colour(field); } + else if (key == "tile_excl_centre_col" || key == "tile_excl_center_col") + { + tile_excl_centre_col = + _str_to_tile_colour(field); + } #endif #ifdef WIN32TILES -- cgit v1.2.3-54-g00ecf