(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)

This commit is contained in:
rubidium
2008-10-14 18:38:51 +00:00
parent 6e397dd3f0
commit b5e467978b
22 changed files with 45 additions and 45 deletions

View File

@@ -79,7 +79,7 @@ static uint32 IndustryTileGetVariable(const ResolverObject *object, byte variabl
case 0x41 : return GetTerrainType(tile);
/* Current town zone of the tile in the nearest town */
case 0x42 : return GetTownRadiusGroup(ClosestTownFromTile(tile, (uint)-1), tile);
case 0x42 : return GetTownRadiusGroup(ClosestTownFromTile(tile, UINT_MAX), tile);
/* Relative position */
case 0x43 : return GetRelativePosition(tile, inds->xy);