src/openttd.cpp
changeset 8843 45fdf630deaa
parent 8840 332412c2e9c1
child 8855 6d841d5d4789
equal deleted inserted replaced
8842:ed3fb21d71c6 8843:45fdf630deaa
  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->GetDestination())->IsBuoy()) {
  2308 			if (order->IsType(OT_GOTO_STATION) && GetStation(order->GetDestination())->IsBuoy()) {
  2309 				order->flags = 0;
  2309 				order->SetLoadType(0);
       
  2310 				order->SetUnloadType(0);
  2310 			}
  2311 			}
  2311 		}
  2312 		}
  2312 
  2313 
  2313 		/* Set all share owners to PLAYER_SPECTATOR for
  2314 		/* Set all share owners to PLAYER_SPECTATOR for
  2314 		 * 1) all inactive players
  2315 		 * 1) all inactive players