]> git.zerfleddert.de Git - micropolis/commitdiff
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 b2a1c8b37d8cd9f0933eaa04ce52ece1258fa8e8..336a425964a9c1c4077f997d7e302ab76009c78c 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