Damaged by fire, flood, ea rthquake, wind or other cause to the extent that the structural integrity of the building, structure, or portion thereof is less than it was prior to the damage and is less than the minimum requirement established by the adopted construction codes for new buildings; 2.