In this instance, you will likely be held liable for the accident. Although you want to use your best judgment when it comes to avoiding an animal, in most cases, if an accident/collision occurs by you trying to avoid hitting an animal, you are responsible for the damages. The way that most insurance companies see it, hitting an animal (be it a deer, raccoon, or a cat) has the potential to be less damaging than swerving to miss it.
That said, the insurance adjuster will be the one that determines fault. Good luck and if you have any questions, don't hesitate to ask