X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/e20a2581da67104e8fb26ce5c4a8e620d9c1ca75..c926d3309ace0ecb51582617fb45c6297f22f886:/src/sim/w_x.c diff --git a/src/sim/w_x.c b/src/sim/w_x.c index 3ad6c04..ef42536 100644 --- a/src/sim/w_x.c +++ b/src/sim/w_x.c @@ -611,8 +611,6 @@ InitNewView(SimView *view, char *title, int class, int w, int h) view->pan_x = w / 2; view->pan_y = h / 2; DoResizeView(view, w, h); - GetViewTiles(view); - return (view); } @@ -1244,6 +1242,9 @@ DoResizeView(SimView *view, int w, int h) } } } + + GetViewTiles(view); + }