From 2fb2e58685c521ea76aab9f6d7cffe1186c9814a Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 22 Feb 2015 01:38:31 +0200 Subject: [PATCH] Don't clear current_sequence in set_route It may be still needed by routers of other trains. --- source/libr2c2/trainrouter.cpp | 1 - 1 file changed, 1 deletion(-) 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(); -- 2.43.0