diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-06-05 02:56:30 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-06-05 02:56:30 -0400 |
commit | f3d99e44229e0e0f8366f92a52ac3d4217dacdcd (patch) | |
tree | 31af38541d38d6b2368a45b331744c0fe1773022 /crawl-ref/source/abyss.cc | |
parent | 7d2350f868e85cc5f3bd65b86dbb0f8663827532 (diff) | |
download | crawl-ref-f3d99e44229e0e0f8366f92a52ac3d4217dacdcd.tar.gz crawl-ref-f3d99e44229e0e0f8366f92a52ac3d4217dacdcd.zip |
Rename a local variable
Diffstat (limited to 'crawl-ref/source/abyss.cc')
-rw-r--r-- | crawl-ref/source/abyss.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/abyss.cc b/crawl-ref/source/abyss.cc index 63c49c5a5b..5779784190 100644 --- a/crawl-ref/source/abyss.cc +++ b/crawl-ref/source/abyss.cc @@ -1220,11 +1220,12 @@ static void _abyss_apply_terrain(const map_bitmask &abyss_genlevel_mask, { const coord_def p(*ri); const coord_def abyss_coord = p + abyssal_state.major_coord; - bool nuked = map_masked(p, MMT_TURNED_TO_FLOOR); - if (used_queue && !nuked) + bool turned_to_floor = map_masked(p, MMT_TURNED_TO_FLOOR); + if (used_queue && !turned_to_floor) continue; - if (nuked && (now || x_chance_in_y(delta, 50)) || !nuked && !used_queue) + if (turned_to_floor && (now || x_chance_in_y(delta, 50)) + || !turned_to_floor && !used_queue) { ++ii; _update_abyss_terrain(abyss_coord, abyss_genlevel_mask, morph); |