Somehow, the player can have 0 health and still be alive, so check for it so we don't divide by zero here.