diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-08 21:40:41 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-08 21:40:41 +0000 |
commit | 9daed15a2ae8a8cf8c2330dc57f64c6afea09bea (patch) | |
tree | aac7f1ba97e14518056f9a1ba109e8bb5c9b9811 /crawl-ref/source/maps.cc | |
parent | ccd8ab9d731d18d9fa3d6c29ed6bb9c8ab220c5d (diff) | |
download | crawl-ref-9daed15a2ae8a8cf8c2330dc57f64c6afea09bea.tar.gz crawl-ref-9daed15a2ae8a8cf8c2330dc57f64c6afea09bea.zip |
Tweak map stat output, fixed a couple of bugs.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1806 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r-- | crawl-ref/source/maps.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc index a71392ce46..8e0c9f6864 100644 --- a/crawl-ref/source/maps.cc +++ b/crawl-ref/source/maps.cc @@ -80,14 +80,7 @@ int vault_main( // Return value of zero forces dungeon.cc to regenerate the level, except // for branch entry vaults where dungeon.cc just rejects the vault and // places a vanilla entry. - const int result = write_vault( vdefs[which_vault], vgrid, place, avoid ); - -#ifdef DEBUG_DIAGNOSTICS - if (crawl_state.map_stat_gen && result > 0) - mapgen_report_map_use(vdefs[which_vault]); -#endif - - return (result); + return (write_vault( vdefs[which_vault], vgrid, place, avoid )); } static int write_vault(map_def &mdef, map_type map, |