69 {
70 if (!target || (target && target.GetObject()))
71 return false;
72
73 vector hitPosition = target.GetCursorHitPos();
74 string surfaceType;
75 g_Game.SurfaceGetType3D(hitPosition[0], hitPosition[1], hitPosition[2], surfaceType);
76
79 return false;
80
82 }
int m_AllowedLiquidSource
CCTWaterSurface m_MaximalActionDistanceSq
static bool CheckLiquidSource(float pHeight, string pSurface, int allowedWaterSourceMask)
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.