diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-02 04:36:18 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-02 04:36:18 +0000 |
commit | fa6393b63b270a07e02ce4c8333b23013b5ded75 (patch) | |
tree | 043489a6bc83f6fa827ccb34bd574a4aa18ba7ee /crawl-ref/source/maps.h | |
parent | 20c98d67894a6fe8c8fac01e841108b5878160db (diff) | |
download | crawl-ref-fa6393b63b270a07e02ce4c8333b23013b5ded75.tar.gz crawl-ref-fa6393b63b270a07e02ce4c8333b23013b5ded75.zip |
Fix broken sewer messaging (dpeg).
Fixed bad bounds checks for minivaults placed by dgn_place_map.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7716 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.h')
-rw-r--r-- | crawl-ref/source/maps.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/maps.h b/crawl-ref/source/maps.h index ba1e9257f2..0bba9445c9 100644 --- a/crawl-ref/source/maps.h +++ b/crawl-ref/source/maps.h @@ -23,7 +23,8 @@ int vault_main(vault_placement &vp, // Given a rectangular region, slides it to fit into the map. size must be // smaller than (GXM,GYM). -void fit_region_into_map_bounds(coord_def &pos, const coord_def &size); +void fit_region_into_map_bounds(coord_def &pos, const coord_def &size, + int margin = 0); const map_def *map_by_index(int index); int map_count(); |