From: ian Date: Sat, 17 May 2008 23:59:14 +0000 (+0000) Subject: initialise seg->motion and ->motion_newplan X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=d94ec1eac6f4ea5936eaf3394fd94ff2f80cdcd8;p=trains.git initialise seg->motion and ->motion_newplan --- diff --git a/hostside/record.c b/hostside/record.c index d6e1a96..d557579 100644 --- a/hostside/record.c +++ b/hostside/record.c @@ -427,6 +427,7 @@ static void alloc(void) { seg->seg_inverted= 0; seg->movposcomb= -1; seg->moving= 0; + seg->motion= seg->motion_newplan= 0; seg->i= segi; seg->autopoint= 1; }