1
0
Fork 0

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:
andy 2004-01-21 22:51:21 +00:00
parent 79ef949e17
commit 0a9a72f209

View file

@ -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);
}
}
}