I’m assuming this is a New Mexico PC?
I apologize, was California law. Here is NM. It's actually less strict.
30-7-4. Negligent use of a deadly weapon.
A. Negligent use of a deadly weapon consists of:
(1) discharging a firearm into any building or vehicle or so as to knowingly endanger a person or his property;
(2) carrying a firearm while under the influence of an intoxicant or narcotic;
(3) endangering the safety of another by handling or using a firearm or other deadly weapon in a negligent manner; or
(4) discharging a firearm within one hundred fifty yards of a dwelling or building, not including abandoned or vacated buildings on public lands during hunting seasons, without the permission of the owner or lessees thereof.
Whoever commits negligent use of a deadly weapon is guilty of a petty misdemeanor.