24 apartments affected by flooding at Cranston complex