Dynamical effects in the decay of a compound nucleus