equal
deleted
inserted
replaced
2189 if (st->goods[c].cargo.Count() != 0) SETBIT(st->goods[c].acceptance_pickup, GoodsEntry::PICKUP); |
2189 if (st->goods[c].cargo.Count() != 0) SETBIT(st->goods[c].acceptance_pickup, GoodsEntry::PICKUP); |
2190 } |
2190 } |
2191 } |
2191 } |
2192 } |
2192 } |
2193 |
2193 |
|
2194 if (CheckSavegameVersion(78)) { |
|
2195 Industry *i; |
|
2196 uint j; |
|
2197 FOR_ALL_INDUSTRIES(i) { |
|
2198 const IndustrySpec *indsp = GetIndustrySpec(i->type); |
|
2199 for (j = 0; j < lengthof(i->produced_cargo); j++) { |
|
2200 i->produced_cargo[j] = indsp->produced_cargo[j]; |
|
2201 } |
|
2202 for (j = 0; j < lengthof(i->accepts_cargo); j++) { |
|
2203 i->accepts_cargo[j] = indsp->accepts_cargo[j]; |
|
2204 } |
|
2205 } |
|
2206 } |
2194 |
2207 |
2195 return true; |
2208 return true; |
2196 } |
2209 } |
2197 |
2210 |
2198 /** Reload all NewGRF files during a running game. This is a cut-down |
2211 /** Reload all NewGRF files during a running game. This is a cut-down |