git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1863 c06c8d41-db1a-0410-9941-cceddc491573
NHZ3VSRYE72XHSNDHOL2P6IX7DS3FK4FDAD2MDEULM3YFJDYTYDAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
// sometimes we have to place doors, or else we shut in other buildings' doors
// sometimes we have to place doors, or else we shut in other // buildings' doors
// sometimes we have to place doors, or else we shut in other
// buildings' doors
if ((bx2-bx1)*(by2-by1) < 36)
if ((bx2-bx1)*(by2-by1) < 36 && new_doors > 1)
treasure_area(level_number, x1 + 3, x2 - 3, y1 + 3, y2 - 3);
treasure_area(level_number, x1 + 3, x2 - 3,
y1 + 3, y2 - 3);