forked from mirror/OpenTTD
(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)
This commit is contained in:
@@ -512,7 +512,7 @@ bool CheckIfCallBackAllowsCreation(TileIndex tile, IndustryType type, uint itspe
|
||||
ind.width = 0;
|
||||
ind.type = type;
|
||||
ind.selected_layout = itspec_index;
|
||||
ind.town = ClosestTownFromTile(tile, (uint)-1);
|
||||
ind.town = ClosestTownFromTile(tile, UINT_MAX);
|
||||
|
||||
NewIndustryResolver(&object, tile, &ind, type);
|
||||
object.GetVariable = IndustryLocationGetVariable;
|
||||
|
Reference in New Issue
Block a user