diff --git a/similar/main/gamemine.cpp b/similar/main/gamemine.cpp index 68d3e4bac..e7d543909 100644 --- a/similar/main/gamemine.cpp +++ b/similar/main/gamemine.cpp @@ -388,7 +388,6 @@ struct me mine_editor; int load_mine_data(PHYSFS_file *LoadFile) { char old_tmap_list[MAX_TEXTURES][FILENAME_LEN]; - short tmap_times_used[MAX_TEXTURES]; int i, j; short tmap_xlate; int translate; @@ -397,9 +396,6 @@ int load_mine_data(PHYSFS_file *LoadFile) fuelcen_reset(); - for (i=0; i < sizeof(tmap_times_used)/sizeof(tmap_times_used[0]); i++ ) - tmap_times_used[i] = 0; - #ifdef EDITOR // Create a new mine to initialize things. //texpage_goto_first(); @@ -577,15 +573,6 @@ int load_mine_data(PHYSFS_file *LoadFile) ; } if (tmap_xlate_table[j] != j ) translate = 1; - if (tmap_xlate_table[j] >= 0) - tmap_times_used[tmap_xlate_table[j]]++; - } - - { - int count = 0; - for (i=0; i