From: Michael Gernoth Date: Fri, 27 Nov 2015 16:59:54 +0000 (+0100) Subject: sim/w_x.c: initialize view->auto_y_goal X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/commitdiff_plain/966a34507f7bc274931edb5b84346f5e36e042fb sim/w_x.c: initialize view->auto_y_goal --- 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;