* Finish work on Path through the Clouds
[supertux.git] / src / worldmap / level.cpp
index aafa660..59984ff 100644 (file)
@@ -32,7 +32,7 @@ namespace WorldMapNS
 {
 
 LevelTile::LevelTile(const std::string& basedir, const lisp::Lisp* lisp)
-  : solved(false), auto_play(false), auto_path(true), basedir(basedir), picture_cached(false),
+  : solved(false), auto_play(false), basedir(basedir), picture_cached(false),
     picture(0)
 {
   lisp->get("name", name);
@@ -77,7 +77,7 @@ LevelTile::get_picture()
   picture_cached = true;
   std::string fname = FileSystem::strip_extension(basedir + name)+".jpg";
   if (!PHYSFS_exists(fname.c_str())) {
-       return 0;
+    return 0;
   }
   picture = new Surface(fname);
   return picture;