Fix const attribute at eletric motor
This commit is contained in:
parent
b4746123bd
commit
cc8b981301
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue