diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-31 16:42:16 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-31 16:42:16 +0000 |
commit | 41c2d216f091d4a6080b4ecccfefb11b0e1ce6ce (patch) | |
tree | 3f97b7f193a762eda7faaba359b7dcbab75e8215 /crawl-ref/source/enum.h | |
parent | 9ffe5be6e32bd60bec195a768c7eebaca1196a24 (diff) | |
download | crawl-ref-41c2d216f091d4a6080b4ecccfefb11b0e1ce6ce.tar.gz crawl-ref-41c2d216f091d4a6080b4ecccfefb11b0e1ce6ce.zip |
[1968164] Fixing issue where monster can be generated inside of a rock wall. The special rooms don't check for DNGN_BUILDER_SPECIAL_WALL when placing monsters and so they may get placed on spots that will turn into walls later.
I could have fixed this by adjusting the dungeon_feature_type enumeration to place special walls earlier, but I'm a little scared of mucking with it.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5371 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 6006ae087d..7f773e82a7 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -932,6 +932,7 @@ enum dungeon_feature_type DNGN_EXIT_PANDEMONIUM, // 100 DNGN_TRANSIT_PANDEMONIUM, // 101 + // [enne] should the special_wall be placed between minwall/maxwall? DNGN_BUILDER_SPECIAL_WALL = 105, // 105; builder() only DNGN_BUILDER_SPECIAL_FLOOR, // 106; builder() only |