I remember seeing this scene from a movie years ago, but I don’t remember much else about it.
So lousy-shot cowboy hero, possibly a black guy, is fighting a sheriff in a mexican adobe style building… Church maybe? Anyways, there’s a shootout and neither guy is hit. Finally both hide behind posts and reload. Good guy realizes he only has 1 bullet left, bad sheriff agrees to throw all his bullets except one. They clang to the floor so that good guy knows about it, but sheriff loads six bullets in his gun. Both guys jump out and shoot at each other, good guy once and sheriff six times. The one bullet fired by good guy, who so far hasn’t hit one target, hits the sheriff right in the middle of his star. Sheriff delivers a one liner and dies.