Wrong units when interpreting <weight> tags.
This commit is contained in:
parent
8199ece7dc
commit
b162cf8707
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue