In Raiders of the Lost Ark (1981), the Cairo marketplace duel was scripted as an elaborate whip-vs-sword fight. Harrison Ford had severe dysentery and was too weak for the choreography.
Director Steven Spielberg improvised: Ford simply draws his revolver and shoots the swordsman. The gag became one of cinema's most famous moments, spawning Indy's line, "It's not the years, honey, it's the mileage."