Changeset - r838:7330f79937ab
[Not reviewed]
master
0 1 0
truelight - 19 years ago 2005-01-01 15:40:44
truelight@openttd.org
(svn r1318) -Fix: Saving a game fucked up the industries.. sorry ;)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
industry_cmd.c
Show inline comments
 
@@ -1887,17 +1887,17 @@ static const byte _industry_desc[] = {
 
static void Save_INDY()
 
{
 
	Industry *ind;
 
	int i = 0;
 
	// Write the vehicles
 
	FOR_ALL_INDUSTRIES(ind) {
 
		i++;
 
		if (ind->xy != 0) {
 
			SlSetArrayIndex(i);
 
			SlObject(ind, _industry_desc);
 
		}
 
		i++;
 
	}
 
}
 

	
 
static void Load_INDY()
 
{
 
	int index;
0 comments (0 inline, 0 general)