47 {
48 partPos[1] =
g_Game.SurfaceRoadY(partPos[0], partPos[2]);
49
50
51 if (!Math.IsInRange(partPos[1], centerPos[1] - m_NegativeHeight, centerPos[1] + m_PositiveHeight))
52 partPos[1] = centerPos[1];
53
54 props.Insert(ParticleProperties(partPos, ParticlePropertiesFlags.PLAY_ON_CREATION, null,
g_Game.GetSurfaceOrientation( partPos[0], partPos[2] ),
this));
55 ++count;
56 }