New Path based on time intervals; see levels/test/platform.stl
[supertux.git] / src / object / platform.cpp
index 374a4ee..8d1a8f3 100644 (file)
@@ -49,7 +49,7 @@ Platform::Platform(const lisp::Lisp& reader)
      std::cerr << "Warning: Path for moving platform not found! Make sure that the name is spelled correctly,\nand that the path is initialized before the platform in the level file!\n";
   }
 
-  path_offset = bbox.p1 - path->GetStart();
+  path_offset = bbox.p1;
 }
 
 Platform::~Platform()