forked from mirror/OpenTTD
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
This commit is contained in:
@@ -1190,7 +1190,7 @@ static const Town *CheckMultipleIndustryInTown(TileIndex tile, int type)
|
||||
const Town *t;
|
||||
const Industry *i;
|
||||
|
||||
t = ClosestTownFromTile(tile, (uint)-1);
|
||||
t = ClosestTownFromTile(tile, UINT_MAX);
|
||||
|
||||
if (_settings_game.economy.multiple_industry_per_town) return t;
|
||||
|
||||
|
Reference in New Issue
Block a user