I think that this is a typo, always returns zero.

r3697 | dcl | 2012-08-08 17:26:27 +1000 (Wed, 08 Aug 2012) | 1 line
This commit is contained in:
Douglas Clowes
2012-08-08 17:26:27 +10:00
parent 39735092d7
commit 01fce76ffa

View File

@@ -155,7 +155,7 @@ int GetDrivablePosition(void *pObject, SConnection *pCon, float *fPos)
return MotorGetSoftPosition(pMot,pCon,fPos);
}
value = pDriv->GetValue(pObject,pCon);
if(value < 9999.99)
if(value < -9999.0)
{
return 0;
}