A man practised shooting indoors with a gun, making a thud.