diff --git a/src/routes/vehicle/SAEVKeyPoint.cpp b/src/routes/vehicle/SAEVKeyPoint.cpp index 9094b7018647f6206ded6a29cf560ce20183d54b..726bb6c987c2d80993dfadca7003d0d796f079fa 100644 --- a/src/routes/vehicle/SAEVKeyPoint.cpp +++ b/src/routes/vehicle/SAEVKeyPoint.cpp @@ -128,7 +128,10 @@ std::string SAEVKeyPoint::to_string() const { } void SAEVKeyPoint::resetBounds() { - if(isOrigin()) { + if(isDepot()) { + _minTW = 0; + _maxTW = INT16_MAX; + } else if(isOrigin()) { _minTW = _requestPointer->getMinDepartureTw(); _maxTW = _requestPointer->getMaxDepartureTw(); } else {