diff options
author | Vsevolod Kozlov <zaba@wybt.net> | 2010-12-18 19:18:16 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@wybt.net> | 2010-12-18 19:18:16 +0300 |
commit | 7611701512615fe19ea78279fca88e284399a42e (patch) | |
tree | 7c181985552cc702fef1e7c107029a89bd65fee4 /crawl-ref/source/dgn-swamp.cc | |
parent | 62cfaebcd7896e575353a050f06f78748b00b6f2 (diff) | |
download | crawl-ref-7611701512615fe19ea78279fca88e284399a42e.tar.gz crawl-ref-7611701512615fe19ea78279fca88e284399a42e.zip |
Rename 'unforbidden' to 'map_masked' and invert logic accordingly.
Inverted logic right in the function name is rather confusing.
Diffstat (limited to 'crawl-ref/source/dgn-swamp.cc')
-rw-r--r-- | crawl-ref/source/dgn-swamp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-swamp.cc b/crawl-ref/source/dgn-swamp.cc index a5c8f902f3..7338dc83ae 100644 --- a/crawl-ref/source/dgn-swamp.cc +++ b/crawl-ref/source/dgn-swamp.cc @@ -45,7 +45,7 @@ static void _swamp_apply_features(int margin) for (rectangle_iterator ri(0); ri; ++ri) { const coord_def c(*ri); - if (unforbidden(c, MMT_VAULT)) + if (!map_masked(c, MMT_VAULT)) { if (c.x < margin || c.y < margin || c.x >= GXM - margin || c.y >= GYM - margin) |