fix air coupler regression in 3fe96854

This commit is contained in:
milek7
2017-11-10 13:39:19 +01:00
parent a686e2ab29
commit cb4e3bbbf3

View File

@@ -20,14 +20,16 @@ AirCoupler::~AirCoupler()
}
/**
* \return 1 when \(straight\) TModel3d \c ModelOn exists
* \return 1 when \(straight\) TModel3d \c only ModelOn exists
* \return 2 when \(slanted\) TModel3d \c ModelxOn exists
* \return 0 when neither of them exist
*/
int AirCoupler::GetStatus()
{
if (ModelOn) return 1;
if (ModelxOn) return 2;
if (ModelxOn)
return 2;
if (ModelOn)
return 1;
return 0;
}