Explicitly defined the angle used by Particles, used new definition for particles...
[supertux.git] / src / supertux / spawn_point.cpp
index 3175da8..5b66182 100644 (file)
@@ -26,17 +26,17 @@ SpawnPoint::SpawnPoint() :
 {}
 
 SpawnPoint::SpawnPoint(const SpawnPoint& other) :
-  name(other.name), 
+  name(other.name),
   pos(other.pos)
 {}
 
-SpawnPoint::SpawnPoint(const lisp::Lisp* slisp) :
+SpawnPoint::SpawnPoint(const Reader& slisp) :
   name(),
   pos()
 {
   pos.x = -1;
   pos.y = -1;
-  lisp::ListIterator iter(slisp);
+  lisp::ListIterator iter(&slisp);
   while(iter.next()) {
     const std::string& token = iter.item();
     if(token == "name") {