A man put a magazine into his gun and shot a target indoors before changing it.