bye, bye dn_tm
authorIngo Ruhnke <grumbel@gmx.de>
Thu, 25 Mar 2004 12:02:46 +0000 (12:02 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Thu, 25 Mar 2004 12:02:46 +0000 (12:02 +0000)
SVN-Revision: 359

src/level.cpp

index e8940e6..bc515db 100644 (file)
@@ -269,7 +269,6 @@ int level_load(st_level* plevel, const char* filename)
     }
 
   vector<int> ia_tm;
-  vector<int> dn_tm;
   vector<int> bg_tm;
   vector<int> fg_tm;
 
@@ -295,7 +294,6 @@ int level_load(st_level* plevel, const char* filename)
       if (!reader.read_int_vector("interactive-tm", &ia_tm))
         reader.read_int_vector("tilemap", &ia_tm);
 
-      reader.read_int_vector("dynamic-tm",     &dn_tm);
       reader.read_int_vector("foreground-tm",  &fg_tm);
 
       {
@@ -397,18 +395,6 @@ int level_load(st_level* plevel, const char* filename)
     }
 
   i = j = 0;
-  for(vector<int>::iterator it = dn_tm.begin(); it != dn_tm.end(); ++it, ++i)
-    {
-
-      plevel->dn_tiles[j][i] = (*it);
-      if(i == plevel->width - 1)
-        {
-          i = -1;
-          ++j;
-        }
-    }
-
-  i = j = 0;
   for(vector<int>::iterator it = bg_tm.begin(); it != bg_tm.end(); ++it, ++i)
     {