From: Ricardo Cruz Date: Sat, 9 Oct 2004 15:32:06 +0000 (+0000) Subject: Don't output level filenames on Contribs. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4f30a36f268d0fb501ecaf560d99ed7f87ecaf56;p=supertux.git Don't output level filenames on Contribs. SVN-Revision: 2002 --- diff --git a/src/level_subset.cpp b/src/level_subset.cpp index 5cd4d2abd..e53bb1cb0 100644 --- a/src/level_subset.cpp +++ b/src/level_subset.cpp @@ -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]; } diff --git a/src/title.cpp b/src/title.cpp index feb81046c..b948c5976 100644 --- a/src/title.cpp +++ b/src/title.cpp @@ -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);