diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-01-16 22:50:34 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-01-16 22:50:49 +0530 |
commit | c0aa968809c8d8ef88048edd667b12b297a68602 (patch) | |
tree | d7d3146cb30af8917fa2327ef9915158fab6bc71 /crawl-ref/source/maps.cc | |
parent | fc861cd85fb2044058363096b391f1c21ec8e660 (diff) | |
download | crawl-ref-c0aa968809c8d8ef88048edd667b12b297a68602.tar.gz crawl-ref-c0aa968809c8d8ef88048edd667b12b297a68602.zip |
Experimental level builder changes for Swamp.
The Swamp now gets a border of trees and uses trees instead of walls. Swamp:5 vaults may need tweaking to fit in better.
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r-- | crawl-ref/source/maps.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc index a41fc4ce88..0855eb5664 100644 --- a/crawl-ref/source/maps.cc +++ b/crawl-ref/source/maps.cc @@ -323,7 +323,7 @@ static bool _may_overwrite_feature(const dungeon_feature_type grid, return (false); } - if (feat_is_wall(grid)) + if (feat_is_wall(grid) || grid == DNGN_TREES) return (wall_ok); // Otherwise, feel free to clobber this feature. |