Fixing wrong turn instruction at roundabouts
This commit is contained in:
parent
c4dc85f607
commit
70825abb1d
@ -102,10 +102,9 @@ public:
|
|||||||
if(TurnInstructions.LeaveRoundAbout == currentInstruction) {
|
if(TurnInstructions.LeaveRoundAbout == currentInstruction) {
|
||||||
intToString(TurnInstructions.EnterRoundAbout, tmpInstruction);
|
intToString(TurnInstructions.EnterRoundAbout, tmpInstruction);
|
||||||
reply.content += tmpInstruction;
|
reply.content += tmpInstruction;
|
||||||
reply.content += " and leave at ";
|
reply.content += "-";
|
||||||
intToString(roundAbout.leaveAtExit+1, tmpInstruction);
|
intToString(roundAbout.leaveAtExit+1, tmpInstruction);
|
||||||
reply.content += tmpInstruction;
|
reply.content += tmpInstruction;
|
||||||
reply.content += " exit";
|
|
||||||
roundAbout.leaveAtExit = 0;
|
roundAbout.leaveAtExit = 0;
|
||||||
} else {
|
} else {
|
||||||
intToString(currentInstruction, tmpInstruction);
|
intToString(currentInstruction, tmpInstruction);
|
||||||
|
Loading…
Reference in New Issue
Block a user