diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-12-07 18:09:34 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-12-07 18:09:34 -0600 |
commit | c8e7d529512b447816e914e59bec3e5cafa66411 (patch) | |
tree | e1f1c19d68c160fcdebb28571a67041c42fd86b5 /crawl-ref/source/viewmap.cc | |
parent | 8ba30b8cf3d286c815d179bedfde2509a060724b (diff) | |
download | crawl-ref-c8e7d529512b447816e914e59bec3e5cafa66411.tar.gz crawl-ref-c8e7d529512b447816e914e59bec3e5cafa66411.zip |
enable walkability colors on the level map again for water/lava
Diffstat (limited to 'crawl-ref/source/viewmap.cc')
-rw-r--r-- | crawl-ref/source/viewmap.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/viewmap.cc b/crawl-ref/source/viewmap.cc index 168943a2c7..bfb7c6de09 100644 --- a/crawl-ref/source/viewmap.cc +++ b/crawl-ref/source/viewmap.cc @@ -1180,7 +1180,10 @@ static bool _travel_colour_override(const coord_def& p) return (true); #endif show_type obj = get_map_knowledge_obj(p); - return (obj.cls == SH_FEATURE && obj.feat == DNGN_FLOOR); + return (obj.cls == SH_FEATURE && (obj.feat == DNGN_FLOOR || + obj.feat == DNGN_LAVA || + obj.feat == DNGN_DEEP_WATER || + obj.feat == DNGN_SHALLOW_WATER)); } unsigned get_map_col(const coord_def& p, bool travel) |