Commit 719f9b16 authored by Ulrich Kemloh's avatar Ulrich Kemloh

fixed crash when there is not routing node in the ini file

parent 1e191222
......@@ -1010,6 +1010,10 @@ bool Building::LoadRoutingInfo(const string &filename)
return false;
if (! xRootNode->FirstChild("routing"))
return true; // no extra routing information
//load goals and routes
TiXmlNode* xGoalsNode = xRootNode->FirstChild("routing")->FirstChild("goals");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment