The climactic sea battle was shot in an air hanger at Palmdale, California, where the cast had to wear wetsuits underneath their costumes on angle-tipped ships. The water-drenched set was kept in freezing temperatures to prevent bacterial infection.