]> git.tdb.fi Git - r2c2.git/commitdiff
Don't clear current_sequence in set_route
authorMikko Rasa <tdb@tdb.fi>
Sat, 21 Feb 2015 23:38:31 +0000 (01:38 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 21 Feb 2015 23:38:31 +0000 (01:38 +0200)
It may be still needed by routers of other trains.

source/libr2c2/trainrouter.cpp

index d530687af92fc9612e3f30f7823eafc5425a62ab..1ada62104cee5724ac208be1e1e57cf7dd18946c 100644 (file)
@@ -48,7 +48,6 @@ bool TrainRouter::set_route(const Route *r)
 
        waypoints.clear();
        sequence_points.clear();
-       current_sequence = 0;
 
        route_changed();