From: James Turner Date: Mon, 4 Jul 2016 06:20:23 +0000 (+0100) Subject: Fix HLAFederate for readXML API change X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=16ef5a0a49330adfb4eec8caa56cf37bde345123;p=simgear.git Fix HLAFederate for readXML API change --- diff --git a/simgear/hla/HLAFederate.cxx b/simgear/hla/HLAFederate.cxx index 462351cc..ff9d6e89 100644 --- a/simgear/hla/HLAFederate.cxx +++ b/simgear/hla/HLAFederate.cxx @@ -798,7 +798,7 @@ HLAFederate::readRTI1516ObjectModelTemplate(const std::string& objectModel) // This one covers the generic attributes, parameters and data types. HLAOMTXmlVisitor omtXmlVisitor; try { - readXML(objectModel, omtXmlVisitor); + readXML(SGPath(objectModel), omtXmlVisitor); } catch (const sg_throwable& e) { SG_LOG(SG_IO, SG_ALERT, "Could not open HLA XML object model file: " << e.getMessage());