File diff r23537:f6a6d4ce4bd5 → r23538:8df50944b27a
src/industry_cmd.cpp
Show inline comments
 
@@ -1884,7 +1884,7 @@ static CommandCost CreateNewIndustryHelp
 

	
 
	*ip = NULL;
 

	
 
	SmallVector<ClearedObjectArea, 1> object_areas(_cleared_object_areas);
 
	std::vector<ClearedObjectArea> object_areas(_cleared_object_areas);
 
	CommandCost ret = CheckIfIndustryTilesAreFree(tile, it, itspec_index, type, random_initial_bits, founder, creation_type, &custom_shape_check);
 
	_cleared_object_areas = object_areas;
 
	if (ret.Failed()) return ret;