mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r1318) -Fix: Saving a game fucked up the industries.. sorry ;)
This commit is contained in:
parent
36333076d5
commit
461ca703ff
@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user