I think that there is a conflict among the various statutes regulating hunting. (I'm assuming he was properly licensed at the time and that whatever he was hunting was in season.) Here's the statute containing the more specific language that applies to people who are lawfully hunting:
§ 29.1-527. Counties, cities or towns may prohibit hunting near public schools and county, city, town or regional parks.
The governing body of any county, city or town may prohibit by ordinance, shooting or hunting with a firearm, or prohibit hunters from traversing an area while in possession of a loaded firearm, within 100 yards of any property line of a public school or a county, city, town or regional park. The governing body may, in such ordinance, provide that any violation thereof shall be a Class 4 misdemeanor. Nothing in this section shall give any county, city or town the authority to enforce such an ordinance on lands within a national or state park or forest, or wildlife management area.
So the question for me is whether the locality has an ordinance conforming to the statute. If not, I'd say this statute trumps the more general "thou shalt not" in 18.2, because specific controls over general.