diff options
author | Vsevolod Kozlov <zaba@wybt.net> | 2011-06-26 12:18:57 +0400 |
---|---|---|
committer | Vsevolod Kozlov <zaba@wybt.net> | 2011-06-26 12:18:57 +0400 |
commit | d1b0828b399d5ae0cce7dd9472b517ee351d7b24 (patch) | |
tree | 1dd99e3532da11580660ae95477db57dfd87dfd1 /crawl-ref/source/dgn-layouts.cc | |
parent | 1eddf9e5f6027db29270d1e7b40eb29e9e10cab6 (diff) | |
download | crawl-ref-d1b0828b399d5ae0cce7dd9472b517ee351d7b24.tar.gz crawl-ref-d1b0828b399d5ae0cce7dd9472b517ee351d7b24.zip |
Let _octa_room overwrite any wall, not just rock.
This should make the 'market square' of chaotic_city somewhat better-looking
when the place it's created at has non-rock rooms.
Diffstat (limited to 'crawl-ref/source/dgn-layouts.cc')
-rw-r--r-- | crawl-ref/source/dgn-layouts.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-layouts.cc b/crawl-ref/source/dgn-layouts.cc index 3cfe658738..909136950e 100644 --- a/crawl-ref/source/dgn-layouts.cc +++ b/crawl-ref/source/dgn-layouts.cc @@ -490,7 +490,7 @@ static bool _octa_room(dgn_region& region, int oblique_max, { for (y = tl.y + oblique; y < br.y - oblique; y++) { - if (grd[x][y] == DNGN_ROCK_WALL) + if (_is_wall(x, y)) grd[x][y] = type_floor; if (grd[x][y] == DNGN_FLOOR && type_floor == DNGN_SHALLOW_WATER) |