src/openttd.cpp
changeset 8840 332412c2e9c1
parent 8838 068d63397dc3
child 8843 45fdf630deaa
equal deleted inserted replaced
8839:6337281b393b 8840:332412c2e9c1
  2303 
  2303 
  2304 	if (CheckSavegameVersion(84)) {
  2304 	if (CheckSavegameVersion(84)) {
  2305 		/* Update go to buoy orders because they are just waypoints */
  2305 		/* Update go to buoy orders because they are just waypoints */
  2306 		Order *order;
  2306 		Order *order;
  2307 		FOR_ALL_ORDERS(order) {
  2307 		FOR_ALL_ORDERS(order) {
  2308 			if (order->IsType(OT_GOTO_STATION) && GetStation(order->dest)->IsBuoy()) {
  2308 			if (order->IsType(OT_GOTO_STATION) && GetStation(order->GetDestination())->IsBuoy()) {
  2309 				order->flags = 0;
  2309 				order->flags = 0;
  2310 			}
  2310 			}
  2311 		}
  2311 		}
  2312 
  2312 
  2313 		/* Set all share owners to PLAYER_SPECTATOR for
  2313 		/* Set all share owners to PLAYER_SPECTATOR for