Skip to content
Snippets Groups Projects
Commit 4bb55ceb authored by Uwe Woessner's avatar Uwe Woessner
Browse files

a compiler warning in MSVC pointed me to this fix that probably would...

a compiler warning in MSVC pointed me to this fix that probably would otherwise have been gone unnoticed for quite a while
parent ec816b28
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ void ScenarioImporter::ImportRoadNetwork(QDomElement& documentRoot, ScenarioInte
roadNetworkElement, "Tag " + std::string(TAG::logicFile) + " is missing.");
scenario->SetSceneryPath(ParseAttribute<std::string>(logicsElement, ATTRIBUTE::filepath, parameters));
if(SimulationCommon::GetFirstChildElement(roadNetworkElement, TAG::trafficSignals, trafficSignalsElement));
if(SimulationCommon::GetFirstChildElement(roadNetworkElement, TAG::trafficSignals, trafficSignalsElement))
{
SimulationCommon::GetFirstChildElement(trafficSignalsElement, TAG::trafficSignalController, trafficSignalControllerElement);
while (!trafficSignalControllerElement.isNull())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment