diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-11 07:26:56 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-11 07:26:56 +0000 |
commit | 4253009d0db24eb91b3daee9459f59a4a18f6142 (patch) | |
tree | 662cca3196173dec67304b4b86d063664693b2c3 /crawl-ref/source/dungeon.h | |
parent | 82e66353162737b94b8451ea2fada01cb5b3921c (diff) | |
download | crawl-ref-4253009d0db24eb91b3daee9459f59a4a18f6142.tar.gz crawl-ref-4253009d0db24eb91b3daee9459f59a4a18f6142.zip |
[1734352] Added checks in the dungeon builder to ensure vaults placed at the
end of level generation do not isolate parts of the level that were not
already isolated. This does not apply to weird level-types such as
Labyrinths and the Abyss.
Added level veto stats to -mapstat output.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1831 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r-- | crawl-ref/source/dungeon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h index 8912d1d252..f20025371c 100644 --- a/crawl-ref/source/dungeon.h +++ b/crawl-ref/source/dungeon.h @@ -311,7 +311,7 @@ bool flood_find<fgrd, bound_check>::path_flood( return (false); } - if (!left_vault && vaults && !(*vaults)(dc)) + if (!left_vault && vaults && !(*vaults)[dc.x][dc.y]) left_vault = true; good_square(dc); |