diff --git a/EVC/Procedures/stored_information.cpp b/EVC/Procedures/stored_information.cpp index 9e00c88..a1e2c59 100644 --- a/EVC/Procedures/stored_information.cpp +++ b/EVC/Procedures/stored_information.cpp @@ -54,14 +54,14 @@ void svl_shorten(char condition) if (!MA || !MA->SvL_ma) return; platform->debug_print("MA shortening "+std::string(1,condition)); shorten(false, *MA->SvL_ma); - if (condition != 'a' && condition != 'b' && condition != 'f' && (level == Level::N2 || level == Level::N3)) + if (condition != 'a' && condition != 'b' && condition != 'f' && (level == Level::N2 || level == Level::N3) && (mode == Mode::FS || mode == Mode::LS || mode == Mode::OS)) ma_rq_reasons[3] = true; } void train_shorten(char condition) { platform->debug_print("Shortening to front "+std::string(1,condition)); shorten(true, distance::from_odometer(d_maxsafefront(confidence_data::basic()))); - if (level == Level::N2 || level == Level::N3) + if ((level == Level::N2 || level == Level::N3) && (mode == Mode::FS || mode == Mode::LS || mode == Mode::OS)) ma_rq_reasons[3] = true; } void desk_closed_som()