File diff r28827:f131debacb19 → r28828:76c6b8ce3c7c
src/saveload/afterload.cpp
Show inline comments
 
@@ -1771,6 +1771,11 @@ bool AfterLoadGame()
 
			if (!order->IsType(OT_GOTO_DEPOT)) continue;
 
			order->SetDepotActionType((OrderDepotActionFlags)(order->GetDepotActionType() >> 1));
 
		}
 

	
 
		for (Vehicle *v : Vehicle::Iterate()) {
 
			if (!v->current_order.IsType(OT_GOTO_DEPOT)) continue;
 
			v->current_order.SetDepotActionType((OrderDepotActionFlags)(v->current_order.GetDepotActionType() >> 1));
 
		}
 
	}
 

	
 
	/* The water class was moved/unified. */