Bugfix: its finally possible to open a levelsubset.
[supertux.git] / src / level_subset.cpp
index 704ced1..e53bb1c 100644 (file)
@@ -76,7 +76,7 @@ void LevelSubset::read_info_file(const std::string& info_file)
   lisp_free(root_obj);
 }
 
-void LevelSubset::load(const char* subset)
+void LevelSubset::load(const std::string& subset)
 {
   name = subset;
   
@@ -169,7 +169,6 @@ std::string
 LevelSubset::get_level_filename(unsigned int num)
 {
   assert(num < levels.size());
-
   return directory + levels[num];
 }