Fixing wrong turn instruction at roundabouts

This commit is contained in:
DennisOSRM 2012-04-16 19:27:20 +02:00
parent c4dc85f607
commit 70825abb1d

View File

@ -102,10 +102,9 @@ public:
if(TurnInstructions.LeaveRoundAbout == currentInstruction) {
intToString(TurnInstructions.EnterRoundAbout, tmpInstruction);
reply.content += tmpInstruction;
reply.content += " and leave at ";
reply.content += "-";
intToString(roundAbout.leaveAtExit+1, tmpInstruction);
reply.content += tmpInstruction;
reply.content += " exit";
roundAbout.leaveAtExit = 0;
} else {
intToString(currentInstruction, tmpInstruction);