fix for my last committ
authorMatthias Braun <matze@braunis.de>
Wed, 2 Aug 2006 22:36:35 +0000 (22:36 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 2 Aug 2006 22:36:35 +0000 (22:36 +0000)
SVN-Revision: 4115

src/object/platform.cpp

index 3ea71ec..b017ca4 100644 (file)
@@ -38,6 +38,7 @@ Platform::Platform(const lisp::Lisp& reader)
        : MovingSprite(reader, Vector(0,0), LAYER_OBJECTS, COLGROUP_STATIC), speed(Vector(0,0))
 {
   bool running = true;
+  reader.get("name", name);
   reader.get("running", running);
   const lisp::Lisp* pathLisp = reader.get_lisp("path");
   if(pathLisp == NULL)