1
0
Fork 0

Fix const attribute at eletric motor

This commit is contained in:
Vit Hanousek 2020-04-05 19:49:17 +02:00
parent b4746123bd
commit cc8b981301

View file

@ -797,7 +797,7 @@ void FGFDM::parseTurbineEngine(const XMLAttributes* a)
((PropEngine*)_currObj)->setEngine(eng);
}
void FGFDM::parseElectricEngine(XMLAttributes* a)
void FGFDM::parseElectricEngine(const XMLAttributes* a)
{
//Kv is expected to be given as RPM in XML
float Kv = attrf(a, "Kv") * RPM2RAD;