From 0195242aa2ca905ad68c99368a06d8100b2a2fa2 Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Sat, 26 Dec 2009 22:46:16 +0530 Subject: Add rock outcrops at the highest points of the Shoal islands. Also fix Shoal:$ having no rune. --- crawl-ref/source/dgn-shoals.cc | 4 +++- crawl-ref/source/dungeon.cc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/dgn-shoals.cc b/crawl-ref/source/dgn-shoals.cc index 949812d05f..170a004b59 100644 --- a/crawl-ref/source/dgn-shoals.cc +++ b/crawl-ref/source/dgn-shoals.cc @@ -143,7 +143,9 @@ static void _shoals_smooth() static dungeon_feature_type _shoals_feature_at(int x, int y) { const int height = _shoals_heights[y][x]; - return height >= 0? DNGN_FLOOR : + return height >= 230 ? DNGN_STONE_WALL : + height >= 170? DNGN_ROCK_WALL : + height >= 0? DNGN_FLOOR : height >= -14? DNGN_SHALLOW_WATER : DNGN_DEEP_WATER; } diff --git a/crawl-ref/source/dungeon.cc b/crawl-ref/source/dungeon.cc index 3d1102b31d..53658c2a58 100644 --- a/crawl-ref/source/dungeon.cc +++ b/crawl-ref/source/dungeon.cc @@ -4091,7 +4091,7 @@ bool dgn_place_map(const map_def *mdef, bool clobber, bool make_no_exits, } } - dungeon_feature_type rune_subst = DNGN_FLOOR; + int rune_subst = -1; if (mdef->has_tag_suffix("_entry")) rune_subst = _dgn_find_rune_subst_tags(mdef->tags); did_map = _build_secondary_vault(you.your_level, mdef, rune_subst, -- cgit v1.2.3-54-g00ecf