forked from mirror/OpenTTD
(svn r19126) -Codechange: Silence a warning.
This commit is contained in:
@@ -1809,7 +1809,7 @@ static void PlaceInitialIndustry(IndustryType type, bool try_hard)
|
|||||||
|
|
||||||
IncreaseGeneratingWorldProgress(GWP_INDUSTRY);
|
IncreaseGeneratingWorldProgress(GWP_INDUSTRY);
|
||||||
|
|
||||||
for (uint i = 0; i < (try_hard ? 10000 : 2000); i++) {
|
for (uint i = 0; i < (try_hard ? 10000u : 2000u); i++) {
|
||||||
if (CreateNewIndustry(RandomTile(), type) != NULL) break;
|
if (CreateNewIndustry(RandomTile(), type) != NULL) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user