Skip to content

Commit

Permalink
addendum for meso refs #14819
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed May 6, 2024
1 parent b41a189 commit 2ca765c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/microsim/devices/MSDevice_Taxi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ MSDevice_Taxi::updateMove(const SUMOTime traveltime, const double travelledDist)
} else if (myRoutingDevice != nullptr) {
myRoutingDevice->setActive(true);
}
if (myHolder.isStopped() && isEmpty() && myHolder.getNextStop().endBoarding > myServiceEnd) {
if (myHolder.isStopped() && (isEmpty() || MSGlobals::gUseMesoSim) && myHolder.getNextStop().endBoarding > myServiceEnd) {
// limit duration of stop (but only for idling-related stops)
myHolder.getNextStop().endBoarding = myServiceEnd;
}
Expand Down

0 comments on commit 2ca765c

Please sign in to comment.