diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-10-23 10:57:35 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-10-24 00:30:34 +0200 |
commit | 1d578dda6fd52327bc9191d353834ce0f246dbcc (patch) | |
tree | c53b611c4f484acac407874943a8f744e86a9321 /crawl-ref/source/dgn-layouts.cc | |
parent | 19c3e5f86f7e658cee713751d82137c95d57ba3f (diff) | |
download | crawl-ref-1d578dda6fd52327bc9191d353834ce0f246dbcc.tar.gz crawl-ref-1d578dda6fd52327bc9191d353834ce0f246dbcc.zip |
Drop a lot of superfluous parentheses.
These can be really confusing, especially if there are operators of different
priorities, or multiple levels of parentheses, nearby.
Diffstat (limited to 'crawl-ref/source/dgn-layouts.cc')
-rw-r--r-- | crawl-ref/source/dgn-layouts.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-layouts.cc b/crawl-ref/source/dgn-layouts.cc index eed456681c..28f23e5f69 100644 --- a/crawl-ref/source/dgn-layouts.cc +++ b/crawl-ref/source/dgn-layouts.cc @@ -1120,7 +1120,7 @@ static bool _may_overwrite_pos(coord_def c) // Don't overwrite feature if there's a monster or item there. // Otherwise, items/monsters might end up stuck in deep water. - return (!monster_at(c) && igrd(c) == NON_ITEM); + return !monster_at(c) && igrd(c) == NON_ITEM; } static void _build_river(dungeon_feature_type river_type) //mv |