Have you checked:

c_updatehull(terrain,1);

whenever I manpuleted the terrain ingame, I had the player falling thought the terrain too,
by using updatehull this was fixed.