Fix NRE if a unit is damaged without a warhead.