diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-26 22:46:16 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-26 22:46:16 +0530 |
commit | 0195242aa2ca905ad68c99368a06d8100b2a2fa2 (patch) | |
tree | fb305e54cc26ac4a2837af222c14b263e823756e /crawl-ref | |
parent | 61e082e6697779272d5f3503e2751a0ec91283c7 (diff) | |
download | crawl-ref-0195242aa2ca905ad68c99368a06d8100b2a2fa2.tar.gz crawl-ref-0195242aa2ca905ad68c99368a06d8100b2a2fa2.zip |
Add rock outcrops at the highest points of the Shoal islands. Also fix Shoal:$ having no rune.
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/dgn-shoals.cc | 4 | ||||
-rw-r--r-- | crawl-ref/source/dungeon.cc | 2 |
2 files changed, 4 insertions, 2 deletions
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, |