Don't default to exactly zero RPM if the RPM property isn't there.
The engine model doesn't like that.
This commit is contained in:
parent
79ef949e17
commit
0a9a72f209
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ void FGFDM::getExternalInput(float dt)
|
|||
if(t->getPropEngine()) {
|
||||
PropEngine* p = t->getPropEngine();
|
||||
sprintf(buf, "%s/rpm", er->prefix);
|
||||
p->setOmega(fgGetFloat(buf) * RPM2RAD);
|
||||
p->setOmega(fgGetFloat(buf, 500) * RPM2RAD);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue