1
0
Fork 0

Wrong units when interpreting <weight> tags.

This commit is contained in:
andy 2002-06-24 04:18:53 +00:00
parent 8199ece7dc
commit b162cf8707

View file

@ -301,7 +301,7 @@ void FGFDM::getExternalInput(float dt)
// Weights
for(i=0; i<_weights.size(); i++) {
WeightRec* wr = (WeightRec*)_weights.get(i);
_airplane.setWeight(wr->handle, fgGetFloat(wr->prop));
_airplane.setWeight(wr->handle, LBS2KG * fgGetFloat(wr->prop));
}
}