mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 16:09:10 +00:00
(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);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user