sim/w_x.c: initialize view->auto_y_goal
authorMichael Gernoth <michael@gernoth.net>
Fri, 27 Nov 2015 16:59:54 +0000 (17:59 +0100)
committerMichael Gernoth <michael@gernoth.net>
Fri, 27 Nov 2015 16:59:54 +0000 (17:59 +0100)
src/sim/w_x.c

index b2a1c8b..336a425 100644 (file)
@@ -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;
Impressum, Datenschutz