Was the shooting at the end of the episode? I seem to remember it ended with the revelation that the police captain and the public defender, adversaries at work, were secret bedmates at night. But that was a long time ago...memory can play tricks.