From 966a34507f7bc274931edb5b84346f5e36e042fb Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Fri, 27 Nov 2015 17:59:54 +0100 Subject: [PATCH 1/1] sim/w_x.c: initialize view->auto_y_goal --- src/sim/w_x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sim/w_x.c b/src/sim/w_x.c index b2a1c8b..336a425 100644 --- a/src/sim/w_x.c +++ b/src/sim/w_x.c @@ -581,7 +581,7 @@ InitNewView(SimView *view, char *title, int class, int w, int h) view->update_context = 0; view->auto_goto = 0; view->auto_going = 0; - view->auto_x_goal = view->auto_x_goal = 0; + view->auto_x_goal = view->auto_y_goal = 0; view->auto_speed = 75; view->follow = NULL; view->sound = 1; -- 2.39.5