An engine system includes a charge-air cooler, a separator for separating water from an airflow, and an engine. The separator causes an airflow from the charge-air cooler to strike one or more partitions and change directions via a serpentine path such that water is separated out of the airflow before the airflow reaches the engine.