1
0
Fork 0

Missed fixes from previous Yasim commit.

This commit is contained in:
James Turner 2020-09-04 13:05:11 +01:00
parent d2fb16e071
commit 2147eb8da9

View file

@ -873,7 +873,7 @@ void FGFDM::parsePropeller(const XMLAttributes* a)
sprintf(buf, "/engines/engine[%d]", _nextEngine++);
EngRec* er = new EngRec();
er->eng = thruster;
er->prefix = strdup(buf);
er->prefix = buf;
_thrusters.add(er);
_currObj = thruster;
@ -931,7 +931,7 @@ void FGFDM::parseJet(const XMLAttributes* a)
sprintf(buf, "/engines/engine[%d]", _nextEngine++);
EngRec* er = new EngRec();
er->eng = j;
er->prefix = strdup(buf);
er->prefix = buf;
_thrusters.add(er);
}