summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-layouts.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@wybt.net>2011-06-26 12:18:57 +0400
committerVsevolod Kozlov <zaba@wybt.net>2011-06-26 12:18:57 +0400
commitd1b0828b399d5ae0cce7dd9472b517ee351d7b24 (patch)
tree1dd99e3532da11580660ae95477db57dfd87dfd1 /crawl-ref/source/dgn-layouts.cc
parent1eddf9e5f6027db29270d1e7b40eb29e9e10cab6 (diff)
downloadcrawl-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.cc2
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)