From: Ian Jackson Date: Sun, 9 Jan 2011 02:50:58 +0000 (+0000) Subject: realtime: resolve: at end of resolution, set all features we haven't explicitly chang... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=4363592ecb5e665108446c4dc72e64818377ff23;p=trains.git realtime: resolve: at end of resolution, set all features we haven't explicitly changed to unknown movposcomb --- diff --git a/hostside/resolve.c b/hostside/resolve.c index 656c025..7c0b3b7 100644 --- a/hostside/resolve.c +++ b/hostside/resolve.c @@ -705,5 +705,12 @@ void resolve_motioncheck(void) { assert(!ec); } + FOR_SEG { + if (seg->i->n_poscombs==1) continue; + if (seg->res_movposset) continue; + assert(!seg->motion); + seg->movposcomb= -1; + } + sta_finalising_done(); }