Shortly after Gary Cooper shoots the first bad guy he is seen running in an alley toward the camera. Then he heads right and then ducks left around the end of a fence. Look in the second story window just above his head as he goes left around the fence and you will see a window air conditioner.
In the 1880s? Maybe the sheriff needed to cool off before facing the rest of the Miller Gang!