]> cvs.zerfleddert.de Git - micropolis/blobdiff - src/sim/w_x.c
re-add (disabled) air crash disaster
[micropolis] / src / sim / w_x.c
index e32aeedc46136796dae246ac0433c66eb89966dc..ef42536588ef0d8d535c104d17f5fd017fbb8f9d 100644 (file)
@@ -456,9 +456,7 @@ FindXDisplay(Tk_Window tkwin)
        } else {
          fprintf(stderr,
                  "Cool, I found the shared memory extension!\n");
-         fprintf(stderr,
-                 "Disabled SHM, because it is currently broken!\n");
-         xd->shared = 0;
+         xd->shared = 1;
        }
       }
     }
@@ -613,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);
 }
 
@@ -1246,6 +1242,9 @@ DoResizeView(SimView *view, int w, int h)
       }
     }
   }
+
+  GetViewTiles(view);
+
 }
 
 
Impressum, Datenschutz