src/openttd.cpp
changeset 8011 8e95362021d5
parent 7971 c1b1fa49885a
child 8063 0e907a0b5add
equal deleted inserted replaced
8010:a924bdae75ab 8011:8e95362021d5
  2167 
  2167 
  2168 			g->num_engines[v->engine_type]++;
  2168 			g->num_engines[v->engine_type]++;
  2169 		}
  2169 		}
  2170 	}
  2170 	}
  2171 
  2171 
       
  2172 	if (CheckSavegameVersion(74)) {
       
  2173 		Station *st;
       
  2174 		FOR_ALL_STATIONS(st) {
       
  2175 			for (CargoID c = 0; c < NUM_CARGO; c++) {
       
  2176 				st->goods[c].last_speed = 0;
       
  2177 				if (st->goods[c].cargo.Count() != 0) SETBIT(st->goods[c].acceptance_pickup, GoodsEntry::PICKUP);
       
  2178 			}
       
  2179 		}
       
  2180 	}
       
  2181 
  2172 
  2182 
  2173 	return true;
  2183 	return true;
  2174 }
  2184 }
  2175 
  2185 
  2176 /** Reload all NewGRF files during a running game. This is a cut-down
  2186 /** Reload all NewGRF files during a running game. This is a cut-down