If is just a baffle then what the water will actually do is just find the easiest path which will be straight across the top tank down to the lower half and out the outlet so only cooling a fraction of the water.
When the inlet and outlet are diagonally opposed then the cooling can be far more efficient due to pressure/temp differentials.