diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-28 06:25:39 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-28 06:26:28 +0530 |
commit | 608eec96965d630ced67178319351c2a6b40be05 (patch) | |
tree | c1d601728bd9d339630719491c1b7e9d41a989b9 /crawl-ref/source/maps.cc | |
parent | 585dab9ccd0db72c6b76bddc3003f6f504fe9c3a (diff) | |
download | crawl-ref-608eec96965d630ced67178319351c2a6b40be05.tar.gz crawl-ref-608eec96965d630ced67178319351c2a6b40be05.zip |
Fix map masks not being checked correctly for collisions.
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 07da121e02..072b7c8557 100644 --- a/crawl-ref/source/maps.cc +++ b/crawl-ref/source/maps.cc @@ -337,7 +337,7 @@ static bool _safe_vault_place(const map_def &map, if (lines[dp.y][dp.x] == ' ') continue; - if (dgn_Map_Mask[cp.x][cp.y] == MMT_VAULT) + if (dgn_Map_Mask[cp.x][cp.y] & MMT_VAULT) return (false); const dungeon_feature_type dfeat = grd(cp); |