diff options
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r-- | crawl-ref/source/tilepick.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc index ab5dc9a7f7..377f63997a 100644 --- a/crawl-ref/source/tilepick.cc +++ b/crawl-ref/source/tilepick.cc @@ -2376,6 +2376,9 @@ int tileidx_feature(int object, int gx, int gy) { return TILE_DNGN_DEEP_WATER_MURKY; } + else if (player_in_branch(BRANCH_SHOALS)) + return TILE_SHOALS_DEEP_WATER; + return TILE_DNGN_DEEP_WATER; case DNGN_SHALLOW_WATER: { @@ -2385,6 +2388,9 @@ int tileidx_feature(int object, int gx, int gy) { t = TILE_DNGN_SHALLOW_WATER_MURKY; } + else if (player_in_branch(BRANCH_SHOALS)) + t = TILE_SHOALS_SHALLOW_WATER; + if (mgrd[gx][gy] != NON_MONSTER) { monsters *mon = &menv[mgrd[gx][gy]]; @@ -2392,6 +2398,7 @@ int tileidx_feature(int object, int gx, int gy) if (mons_is_submerged(mon)) t += tile_dngn_count(t); } + return (t); } case DNGN_FLOOR: |