He was rehearsing a scene.
He pulled the trigger. How is the gun supposed to know it was only pretend.
If you pulled a trigger, with the intent of only pretending to fire a gun but it goes off, are you not liable?
Do actors have intent immunity for their jobs?