When they reached the cross-trees, Potter fainted, but was prevented from falling, by Dobson and Doliver.
Potter fainted. Potter was prevented from falling. This was by Dobson and Doliver. They reached the cross-trees.