diff -r d2a6acdbd665 -r 197cb8c6ae17 src/openttd.cpp --- a/src/openttd.cpp Sun Sep 23 07:37:38 2007 +0000 +++ b/src/openttd.cpp Sat Oct 06 22:30:24 2007 +0000 @@ -2191,6 +2191,19 @@ } } + if (CheckSavegameVersion(78)) { + Industry *i; + uint j; + FOR_ALL_INDUSTRIES(i) { + const IndustrySpec *indsp = GetIndustrySpec(i->type); + for (j = 0; j < lengthof(i->produced_cargo); j++) { + i->produced_cargo[j] = indsp->produced_cargo[j]; + } + for (j = 0; j < lengthof(i->accepts_cargo); j++) { + i->accepts_cargo[j] = indsp->accepts_cargo[j]; + } + } + } return true; }