diff options
author | truelight <truelight@openttd.org> | 2005-01-01 15:40:44 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-01-01 15:40:44 +0000 |
commit | 461ca703ff51900a07ff5d6afb34b3ded8fc76fc (patch) | |
tree | 93ff32052f937161927f004a857ecf00d5af7072 /industry_cmd.c | |
parent | 36333076d5b9df0d16363fe8ad52aa59638a18e0 (diff) | |
download | openttd-461ca703ff51900a07ff5d6afb34b3ded8fc76fc.tar.xz |
(svn r1318) -Fix: Saving a game fucked up the industries.. sorry ;)
Diffstat (limited to 'industry_cmd.c')
-rw-r--r-- | industry_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/industry_cmd.c b/industry_cmd.c index 2e57b59fc..236a34744 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -1890,11 +1890,11 @@ static void Save_INDY() int i = 0; // Write the vehicles FOR_ALL_INDUSTRIES(ind) { - i++; if (ind->xy != 0) { SlSetArrayIndex(i); SlObject(ind, _industry_desc); } + i++; } } |