diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -389,7 +389,7 @@ bool StartStopIndustryTileAnimation(cons { bool ret = true; uint32 random = Random(); - BEGIN_TILE_LOOP(tile, ind->width, ind->height, ind->xy) + TILE_LOOP(tile, ind->width, ind->height, ind->xy) { if (IsTileType(tile, MP_INDUSTRY) && GetIndustryIndex(tile) == ind->index) { if (StartStopIndustryTileAnimation(tile, iat, random)) { SB(random, 0, 16, Random()); @@ -397,7 +397,7 @@ bool StartStopIndustryTileAnimation(cons ret = false; } } - END_TILE_LOOP(tile, ind->width, ind->height, ind->xy) + } return ret; } @@ -433,9 +433,9 @@ void TriggerIndustryTile(TileIndex tile, void TriggerIndustry(Industry *ind, IndustryTileTrigger trigger) { - BEGIN_TILE_LOOP(tile, ind->width, ind->height, ind->xy) + TILE_LOOP(tile, ind->width, ind->height, ind->xy) { if (IsTileType(tile, MP_INDUSTRY) && GetIndustryIndex(tile) == ind->index) { DoTriggerIndustryTile(tile, trigger, ind); } - END_TILE_LOOP(tile, ind->width, ind->height, ind->xy) + } }