rnd-19990109-1
[rocksndiamonds.git] / src / files.c
index be07f7201127b37cc837be9e6653ef3f1f993e1f..87a60c1cc6112ad8546d4c8ad7587471b357d5d6 100644 (file)
@@ -421,20 +421,6 @@ void LoadLevel(int level_nr)
     Error(ERR_WARN, "using high speed movement for player");
     level.high_speed = TRUE;
   }
-
-  /* determine border element */
-  BorderElement = EL_LEERRAUM;
-  for(y=0; y<lev_fieldy && BorderElement == EL_LEERRAUM; y++)
-  {
-    for(x=0; x<lev_fieldx; x++)
-    {
-      if (!IS_MASSIVE(Feld[x][y]))
-       BorderElement = EL_BETON;
-
-      if (y != 0 && y != lev_fieldy - 1 && x != lev_fieldx - 1)
-       x = lev_fieldx - 2;
-    }
-  }
 }
 
 void SaveLevel(int level_nr)