chiark / gitweb /
initialise seg->motion and ->motion_newplan
authorian <ian>
Sat, 17 May 2008 23:59:14 +0000 (23:59 +0000)
committerian <ian>
Sat, 17 May 2008 23:59:14 +0000 (23:59 +0000)
hostside/record.c

index d6e1a968756420cea0adb1c38d445f7453d8d923..d55757955d2308ca417cc98f1cba5bf70f549f0a 100644 (file)
@@ -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;
       }