fix cr/lfs and remove trailing whitespaces...
[supertux.git] / src / worldmap / teleporter.cpp
index 6cce11d..d1a7ffb 100644 (file)
@@ -27,19 +27,20 @@ namespace WorldMapNS
 {
 
 Teleporter::Teleporter(const lisp::Lisp* lisp)
-  : interactive(false)
+  : automatic(false)
 {
   lisp->get("x", pos.x);
   lisp->get("y", pos.y);
-  
+
   std::string spritefile = "";
   if (lisp->get("sprite", spritefile)) {
     sprite.reset(sprite_manager->create(spritefile));
   }
-  
+
   lisp->get("worldmap", worldmap);
   lisp->get("spawnpoint", spawnpoint);
-  lisp->get("interactive", interactive);
+  lisp->get("automatic", automatic);
+  lisp->get("message", message);
 }
 
 void
@@ -54,4 +55,3 @@ Teleporter::update(float )
 }
 
 }
-