diff options
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 666b59ae96..53652e78a5 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -2596,6 +2596,8 @@ static std::string _base_feature_desc(dungeon_feature_type grid, return ("rock wall"); case DNGN_PERMAROCK_WALL: return ("unnaturally hard rock wall"); + case DNGN_OPEN_SEA: + return ("open sea"); case DNGN_CLOSED_DOOR: return ("closed door"); case DNGN_DETECTED_SECRET_DOOR: @@ -2902,6 +2904,16 @@ std::string feature_description(const coord_def& where, bool bloody, return thing_do_grammar(dtype, add_stop, false, desc); } + if (grid == DNGN_OPEN_SEA) + { + switch (dtype) + { + case DESC_CAP_A: dtype = DESC_CAP_THE; break; + case DESC_NOCAP_A: dtype = DESC_NOCAP_THE; break; + default: break; + } + } + switch (grid) { case DNGN_TRAP_MECHANICAL: |