(svn r1318) -Fix: Saving a game fucked up the industries.. sorry ;)
This commit is contained in:
		@@ -1890,11 +1890,11 @@ static void Save_INDY()
 | 
				
			|||||||
	int i = 0;
 | 
						int i = 0;
 | 
				
			||||||
	// Write the vehicles
 | 
						// Write the vehicles
 | 
				
			||||||
	FOR_ALL_INDUSTRIES(ind) {
 | 
						FOR_ALL_INDUSTRIES(ind) {
 | 
				
			||||||
		i++;
 | 
					 | 
				
			||||||
		if (ind->xy != 0) {
 | 
							if (ind->xy != 0) {
 | 
				
			||||||
			SlSetArrayIndex(i);
 | 
								SlSetArrayIndex(i);
 | 
				
			||||||
			SlObject(ind, _industry_desc);
 | 
								SlObject(ind, _industry_desc);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
							i++;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user