Fix: Globally apply preprocessor directive coding style

Global; except for the 32-bit SSE blitter, which has some #DEFINEs
in not-very-nice places.
This commit is contained in:
TechGeekNZ
2020-07-03 09:36:10 +12:00
committed by Niels Martin Hansen
parent 97592c4093
commit 716c883737
13 changed files with 192 additions and 192 deletions

View File

@@ -1186,8 +1186,8 @@ static void BuildRiver(TileIndex begin, TileIndex end)
*/
static bool FlowRiver(TileIndex spring, TileIndex begin)
{
#define SET_MARK(x) marks.insert(x)
#define IS_MARKED(x) (marks.find(x) != marks.end())
# define SET_MARK(x) marks.insert(x)
# define IS_MARKED(x) (marks.find(x) != marks.end())
uint height = TileHeight(begin);
if (IsWaterTile(begin)) return DistanceManhattan(spring, begin) > _settings_game.game_creation.min_river_length;