Sources/CryGame C++/Solution1/CryGame/ScriptObjectVehicle.cpp
//////////////////////////////////////////////////////////////////////////
/*! Attaches a vehicle-container.
		@param pVehicle pointer to the vehicle-container which should be attached
*/
Attaches a vehicle-container.
@param pVehicle pointer to the vehicle-container which should be attached
Attaches a vehicle - container . @param pVehicle pointer to the vehicle - container which should be attached
void CScriptObjectVehicle::SetVehicle(CVehicle *pVehicle)
{
	m_pVehicle = pVehicle;
	if(!EnablePropertiesMapping(pVehicle ))
	{
		CryError( "<CryGame> (CScriptObjectVehicle::SetVehicle) failed" );
		return;
	}
}
void CScriptObjectVehicle :: SetVehicle ( CVehicle * pVehicle ) { m_pVehicle = pVehicle ; if ( ! EnablePropertiesMapping ( pVehicle ) ) { CryError ( " " ) ; return ; } }
Attaches a vehicle-container.
Attaches a vehicle - container .