Skip to content

Commit

Permalink
switching on blinker when blocked from re-entering the road. fix #5126
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Jan 31, 2019
1 parent 68ccb2d commit cd22b28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/microsim/MSVehicleTransfer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ MSVehicleTransfer::checkInsertions(SUMOTime time) {
desc.myVeh->getLane()->removeParking(desc.myVeh);
i = vehInfos.erase(i);
} else {
// blocked from entering the road
desc.myVeh->switchOnSignal(MSNet::getInstance()->lefthand() ? MSVehicle::VEH_SIGNAL_BLINKER_RIGHT : MSVehicle::VEH_SIGNAL_BLINKER_LEFT);
i++;
}
} else {
Expand Down

0 comments on commit cd22b28

Please sign in to comment.