Speed up the physics engine: hook the SOLID broad phase, so we can either reject...
[blender.git] / source / gameengine / Ketsji / KX_RadarSensor.cpp
index 798ebdfc944ab41ededa3edcc4db8f88d87091a8..1ad3750422460e9fc76e8ba1b6075549cabfea39 100644 (file)
@@ -88,7 +88,7 @@ CValue* KX_RadarSensor::GetReplica()
        // this will copy properties and so on...
        CValue::AddDataToReplica(replica);
        
-       replica->m_client_info = new KX_ClientObjectInfo(m_client_info->m_clientobject, KX_ClientObjectInfo::RADAR);
+       replica->m_client_info = new KX_ClientObjectInfo(m_client_info->m_gameobject, KX_ClientObjectInfo::RADAR);
        
        replica->m_sumoObj = new SM_Object(DT_NewCone(m_coneradius, m_coneheight),NULL,NULL,NULL);
        replica->m_sumoObj->setMargin(m_Margin);