mirror of https://github.com/OpenTTD/OpenTTD
(svn r19126) -Codechange: Silence a warning.
parent
b0496c339f
commit
d757f81646
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue