1176 {
1178 {
1179 int liquidType = -1;
1181 if (impactSpeed > 0.0)
1182 {
1184 #ifndef SERVER
1186 #else
1188 SetSynchDirty();
1189 #endif
1191 }
1192 }
1193
1194 #ifdef SERVER
1195 if (GetCompEM() && GetCompEM().IsPlugged())
1196 {
1197 if (GetCompEM().GetCordLength() < vector.Distance(
GetPosition(), GetCompEM().GetEnergySource().
GetPosition()))
1198 GetCompEM().UnplugThis();
1199 }
1200 #endif
1201 }
int m_ImpactSoundSurfaceHash
bool m_WantPlayImpactSound
bool m_CanPlayImpactSound
class JsonUndergroundAreaTriggerData GetPosition