Raiders of the Lost Ark (1981)
Director - Steven Spielberg
While chasing Marion Ravenwood (Karen Allen) after she's been kidnapped, archaeologist and adventurer Dr. Indiana Jones (Harrison Ford) runs into a large sword-wielding bad guy dressed all in black. Instead of fighting him in what would surely be a losing whip versus sword battle, Indy simply pulls out his revolver, puts the man down with one shot and moves on.
The original script called for a long sword fight but a day earlier Ford got a severe case of food poisoning and didn't have the energy to film the scene as written. After a discussion with director Steven Spielberg, the scene was changed and became an iconic part of Indiana Jones mythos.