diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2013-07-31 03:58:01 +0200 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2013-08-03 03:08:12 +0100 |
commit | f66cb844ab65f57161a52e3843ddda8f230588a8 (patch) | |
tree | 9e20151ad2b2c9f1ebd2bd0ec42b4f30091414cc /crawl-ref/source/dgn-shoals.cc | |
parent | a588b26c5ef24f6ad469d5c1d48b4b7702040c96 (diff) | |
download | crawl-ref-f66cb844ab65f57161a52e3843ddda8f230588a8.tar.gz crawl-ref-f66cb844ab65f57161a52e3843ddda8f230588a8.zip |
More padding fixes for ternary operator
Diffstat (limited to 'crawl-ref/source/dgn-shoals.cc')
-rw-r--r-- | crawl-ref/source/dgn-shoals.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dgn-shoals.cc b/crawl-ref/source/dgn-shoals.cc index d51e20ed27..592d77f154 100644 --- a/crawl-ref/source/dgn-shoals.cc +++ b/crawl-ref/source/dgn-shoals.cc @@ -108,7 +108,7 @@ static int _shoals_feature_height(dungeon_feature_type feat) case DNGN_DEEP_WATER: return SHT_SHALLOW_WATER - 1; default: - return feat_is_solid(feat)? SHT_ROCK : SHT_FLOOR; + return feat_is_solid(feat) ? SHT_ROCK : SHT_FLOOR; } } @@ -1008,7 +1008,7 @@ static tide_direction _shoals_feature_tide_height_change( _shoals_feature_height(newfeat) - _shoals_feature_height(oldfeat); // If the apparent height of the new feature is greater (floor vs water), // the tide is receding. - return height_delta < 0? TIDE_RISING : TIDE_FALLING; + return height_delta < 0 ? TIDE_RISING : TIDE_FALLING; } static void _shoals_apply_tide_at(coord_def c, int tide, bool incremental_tide) |