So I'm at an outdoor range with an older shotgun. I just went to throw a few rounds into the berm and see how it cycles/feels/etc. Had 15 rounds on me. I haven't shot the thing in 20+ years. So after the first six rounds I'm reloading and I hear a car driving into my bay. Its a range officer, so I flip the safety on and set the weapon on the table pointed downrange with six rounds in the tube. and turn to go talk to the guy. Well he keeps driving forward....then he makes a left turn and stops right downrange (like 5 feet) from the muzzle of the loaded shotgun. Like between the end of the shotgun and the berm. I said holy crap and picked up the weapon and pointed it skyward (also a no-no, I know). The RO propceeded to tell me they preferred us to shoot at actual targets rather than the berm, I told him I was just doing a quick function check if that was OK. He said alright and then drove off. I'm a little pissed at myself in this situation. I have had RO's here go off on me twice for issues they basically made up rules about (one was shoe related and one was guest related) so I am skittish about them and want to maintain a low profile. Did I do something incorrectly safety-wise? I'm new at this area so I don't want to make huge waves about it but rather would like to know what I could have done differently here. A little help please?