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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user