X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flevel.cpp;h=134f1f566b564f5ccde0c93f69f6da9892394eb0;hb=8372bc7834408184195e060a3f9bfef90b2365b6;hp=dccfbd8702fdd4018516e97edef351f8740069a0;hpb=77d6c22146b06e5737b905795c8d7aab3f146527;p=supertux.git diff --git a/src/level.cpp b/src/level.cpp index dccfbd870..134f1f566 100644 --- a/src/level.cpp +++ b/src/level.cpp @@ -90,10 +90,9 @@ Level::load(const std::string& filepath) add_sector(sector); } else { log_warning << "Unknown token '" << token << "' in level file" << std::endl; - continue; } } - + } catch(std::exception& e) { std::stringstream msg; msg << "Problem when reading level '" << filepath << "': " << e.what();