The effect of interplanetary acceleration on the propagation of energetic solar particles in prompt events