Skip to content

Commit

Permalink
fix #14578
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Mar 22, 2024
1 parent fc2c27f commit a8b0274
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/microsim/MSVehicleTransfer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ MSVehicleTransfer::checkInsertions(SUMOTime time) {
}
MSNet::getInstance()->informVehicleStateListener(desc.myVeh, MSNet::VehicleState::ENDING_TELEPORT);
i = vehInfos.erase(i);
} else {
} else if (desc.myJumping) {
// try again later
++i;
} else {
// vehicle is visible while show-route is active. Make it's state more obvious
desc.myVeh->computeAngle();
desc.myVeh->setLateralPositionOnLane(-desc.myVeh->getLane()->getWidth() / 2);
Expand Down

0 comments on commit a8b0274

Please sign in to comment.