diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-09-22 00:12:36 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-09-22 00:19:58 +0200 |
commit | 3842138bd0d4c4a1649e449345d3112b81016c99 (patch) | |
tree | 323ef1c4d8759df6aaade581cf067de2ba940d94 /crawl-ref/source/dungeon.h | |
parent | 357f8d0d6a867f6a3ac09a9a8daec5d9a49893c9 (diff) | |
download | crawl-ref-3842138bd0d4c4a1649e449345d3112b81016c99.tar.gz crawl-ref-3842138bd0d4c4a1649e449345d3112b81016c99.zip |
Fix two crasher bugs when walking long enough in the Abyss.
_you_vault_list would overflow once you found 256 vaults that got shifted
away. env.props["level_{vaults,extra}_key"] could potentially overflow as
well, although the latter would require running with an amulet of statis on
as abyssal "new area" teleports cleared that prop.
This commit also fixes Pan vault info keeping only the last level generated;
Pan char dumps get quite spammy now. Perhaps refcounting them would be
better?
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r-- | crawl-ref/source/dungeon.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h index 87386961cd..cf5092efef 100644 --- a/crawl-ref/source/dungeon.h +++ b/crawl-ref/source/dungeon.h @@ -21,8 +21,6 @@ #define BUILD_METHOD_KEY "build_method_key" #define LAYOUT_TYPE_KEY "layout_type_key" -#define LEVEL_VAULTS_KEY "level_vaults_key" -#define LEVEL_EXTRAS_KEY "level_extras_key" // See _build_overflow_temples() in dungeon.cc for details on overflow // temples. |