diff options
author | Adam Borowski <kilobyte@angband.pl> | 2014-01-09 22:46:14 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2014-01-10 01:27:07 +0100 |
commit | 08cb1a4dcf80dd9784e1cfd26729a000c13fe767 (patch) | |
tree | 1bac450446aa22ba68f871d3c239694929d1b24f /crawl-ref/source/evoke.cc | |
parent | a735ae8250517f301fbf828a4f4cbc4924df3adb (diff) | |
download | crawl-ref-08cb1a4dcf80dd9784e1cfd26729a000c13fe767.tar.gz crawl-ref-08cb1a4dcf80dd9784e1cfd26729a000c13fe767.zip |
Drop some useless parentheses around comparisons.
Diffstat (limited to 'crawl-ref/source/evoke.cc')
-rw-r--r-- | crawl-ref/source/evoke.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/evoke.cc b/crawl-ref/source/evoke.cc index 5b9518b0e7..977ff84117 100644 --- a/crawl-ref/source/evoke.cc +++ b/crawl-ref/source/evoke.cc @@ -1500,7 +1500,7 @@ static bool _phial_of_floods() coord_def center = beam.path_taken.back(); int num = 5 + you.skill_rdiv(SK_EVOCATIONS, 3, 5) + random2(7); int dur = 40 + you.skill_rdiv(SK_EVOCATIONS, 8, 3); - for (distance_iterator di(center, true, false, 2); di && (num > 0); ++di) + for (distance_iterator di(center, true, false, 2); di && num > 0; ++di) { if ((grd(*di) == DNGN_FLOOR || grd(*di) == DNGN_SHALLOW_WATER) && cell_see_cell(center, *di, LOS_NO_TRANS)) |