diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-30 20:43:15 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-30 20:43:15 +0000 |
commit | f116902db8e7f917df91a3a1e775cc43cf7dd47a (patch) | |
tree | 8ce9e5477928410e415ac3244babeed341a40f09 /crawl-ref/source/initfile.cc | |
parent | a932874b76f5657f943d879c2a0b36dab2cc3f68 (diff) | |
download | crawl-ref-f116902db8e7f917df91a3a1e775cc43cf7dd47a.tar.gz crawl-ref-f116902db8e7f917df91a3a1e775cc43cf7dd47a.zip |
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
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r-- | crawl-ref/source/initfile.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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 |