From: Mikko Rasa Date: Wed, 19 Mar 2014 20:15:57 +0000 (+0200) Subject: Set routes created by the planner as temporary X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=c15850a46dd56df199c0c165f7817859634eb330;p=r2c2.git Set routes created by the planner as temporary --- diff --git a/source/libr2c2/trainrouteplanner.cpp b/source/libr2c2/trainrouteplanner.cpp index 770c0ea..c545589 100644 --- a/source/libr2c2/trainrouteplanner.cpp +++ b/source/libr2c2/trainrouteplanner.cpp @@ -157,6 +157,7 @@ void TrainRoutePlanner::create_routes(RoutingStep &goal) { i->route = new Route(i->train->get_layout()); i->route->set_name("Router"); + i->route->set_temporary(true); } for(RoutingStep *i=&goal; i; i=i->prev)