Fix deprecated warnings related to int vs double damage.