1195 {
1197 {
1198 int liquidType = -1;
1200 if (impactSpeed > 0.0)
1201 {
1203 #ifndef SERVER
1205 #else
1207 SetSynchDirty();
1208 #endif
1210 }
1211 }
1212
1213 #ifdef SERVER
1214 if (GetCompEM() && GetCompEM().IsPlugged())
1215 {
1216 if (GetCompEM().GetCordLength() < vector.Distance(
GetPosition(), GetCompEM().GetEnergySource().
GetPosition()))
1217 GetCompEM().UnplugThis();
1218 }
1219 #endif
1220 }
int m_ImpactSoundSurfaceHash
bool m_WantPlayImpactSound
bool m_CanPlayImpactSound
vector GetPosition()
Get the world position of the Effect.