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:

committed by
Niels Martin Hansen

parent
97592c4093
commit
716c883737
@@ -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;
|
||||
|
Reference in New Issue
Block a user