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