mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r19126) -Codechange: Silence a warning.
This commit is contained in:
parent
b0496c339f
commit
d757f81646
@ -1809,7 +1809,7 @@ static void PlaceInitialIndustry(IndustryType type, bool try_hard)
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user