When a public offense is committed in this State, on board a vessel navigating a river, bay, slough, lake, or canal, or lying therein, in the prosecution of its voyage, or on a railroad train or car, motor vehicle, common carrier transporting passengers or on an aircraft prosecuting its trip, the jurisdiction is in any competent court, through, on, or over the jurisdictional territory of which the vessel, train, car, motor vehicle, common carrier or aircraft passes in the course of its voyage or trip, or in the jurisdictional territory of which the voyage or trip terminates.
(Amended by Stats. 1951, Ch. 1674.)