Fixing Maney Hill street bug.

This commit is contained in:
Dennis Luxen
2011-07-07 08:54:53 +00:00
parent 6b99e44177
commit 7fee51081f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -62,9 +62,9 @@ public:
reply.content += ("\"status_message\":");
reply.content += "\"Found route between points\",";
unsigned streetID = sEngine->GetNameIDForOriginDestinationNodeID(phantomNodes->startNode1, phantomNodes->startNode2);
startPointName = sEngine->GetEscapedNameForNameID(streetID);
startPointName = (0 == streetID ? "Unnamed origin street" : sEngine->GetEscapedNameForNameID(streetID) );
streetID = sEngine->GetNameIDForOriginDestinationNodeID(phantomNodes->targetNode1, phantomNodes->targetNode2);
endPointName = sEngine->GetEscapedNameForNameID(streetID);
endPointName = (0 == streetID ? "Unnamed destination street" : sEngine->GetEscapedNameForNameID(streetID) );
routeInstructionString += "[\"Head ";
_Coordinate tmpCoord;