X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsupertux%2Fspawn_point.cpp;h=8cc24c00e56bbe0991c39d65c3393e5ed0e987ff;hb=9ea35748100d9feb67a66f8a6656cc60f41bfa8c;hp=3175da8341dc875ed0edb495ab8358434775aae7;hpb=c1277f5b7db9f55d1d28f658b4e804f32b76f0ce;p=supertux.git diff --git a/src/supertux/spawn_point.cpp b/src/supertux/spawn_point.cpp index 3175da834..8cc24c00e 100644 --- a/src/supertux/spawn_point.cpp +++ b/src/supertux/spawn_point.cpp @@ -30,13 +30,13 @@ SpawnPoint::SpawnPoint(const SpawnPoint& other) : 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") {