From: Mikko Rasa Date: Sat, 21 Feb 2015 23:38:31 +0000 (+0200) Subject: Don't clear current_sequence in set_route X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=2fb2e58685c521ea76aab9f6d7cffe1186c9814a;p=r2c2.git Don't clear current_sequence in set_route It may be still needed by routers of other trains. --- diff --git a/source/libr2c2/trainrouter.cpp b/source/libr2c2/trainrouter.cpp index d530687..1ada621 100644 --- a/source/libr2c2/trainrouter.cpp +++ b/source/libr2c2/trainrouter.cpp @@ -48,7 +48,6 @@ bool TrainRouter::set_route(const Route *r) waypoints.clear(); sequence_points.clear(); - current_sequence = 0; route_changed();