Changeset - r14545:d5983304610d
[Not reviewed]
master
0 1 0
frosch - 15 years ago 2010-02-14 13:01:07
frosch@openttd.org
(svn r19126) -Codechange: Silence a warning.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/industry_cmd.cpp
Show inline comments
 
@@ -1806,13 +1806,13 @@ static void PlaceInitialIndustry(Industr
 
{
 
	CompanyID old_company = _current_company;
 
	_current_company = OWNER_NONE;
 

	
 
	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;
 
	}
 

	
 
	_current_company = old_company;
 
}
 

	
0 comments (0 inline, 0 general)