Don't output level filenames on Contribs.
authorRicardo Cruz <rick2@aeiou.pt>
Sat, 9 Oct 2004 15:32:06 +0000 (15:32 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Sat, 9 Oct 2004 15:32:06 +0000 (15:32 +0000)
SVN-Revision: 2002

src/level_subset.cpp
src/title.cpp

index 5cd4d2a..e53bb1c 100644 (file)
@@ -169,8 +169,6 @@ std::string
 LevelSubset::get_level_filename(unsigned int num)
 {
   assert(num < levels.size());
-
-std::cerr << "levels[" << num << "]: " << levels[num] << std::endl;
   return directory + levels[num];
 }
 
index feb8104..b948c59 100644 (file)
@@ -167,7 +167,7 @@ void check_levels_contrib_menu()
         if(!reader)
           {
           std::cerr << "Error: Could not open level file. Ignoring...\n";
-          return;
+          continue;
           }
 
         reader->read_string("name", level_title, true);