Skip to content

Commit df373da

Browse files
committed
fix #17908
1 parent a806366 commit df373da

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/microsim/devices/MSIdling.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include <microsim/transportables/MSTransportable.h>
3030
#include <microsim/trigger/MSTriggeredRerouter.h>
3131
#include <mesosim/MELoop.h>
32+
#include <mesosim/MEVehicle.h>
3233
#include "MSRoutingEngine.h"
3334
#include "MSIdling.h"
3435

@@ -122,6 +123,11 @@ MSIdling_Stop::idle(MSDevice_Taxi* taxi) {
122123
}
123124
pars.parametersSet |= STOP_TRIGGER_SET | STOP_PARKING_SET | STOP_END_SET;
124125
pars.parking = ParkingType::OFFROAD;
126+
if (MSGlobals::gUseMesoSim) {
127+
MEVehicle& veh = dynamic_cast<MEVehicle&>(taxi->getHolder());
128+
// register triggered stop
129+
veh.mayProceed();
130+
}
125131
}
126132
}
127133

0 commit comments

Comments
 (0)