From 7a876559701083cf0e6d35e86faa8f322ca9ea18 Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Thu, 25 Mar 2004 12:02:46 +0000 Subject: [PATCH] bye, bye dn_tm SVN-Revision: 359 --- src/level.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/level.cpp b/src/level.cpp index e8940e64d..bc515dbab 100644 --- a/src/level.cpp +++ b/src/level.cpp @@ -269,7 +269,6 @@ int level_load(st_level* plevel, const char* filename) } vector ia_tm; - vector dn_tm; vector bg_tm; vector 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::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::iterator it = bg_tm.begin(); it != bg_tm.end(); ++it, ++i) { -- 2.11.0