X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject_factory.cpp;h=0b6916961ddcf3258bd3a270dde5b073a72ac537;hb=7504b8ef1155259916f0e38eeb74a6024bb1d85b;hp=afae27fee9449ddd8b0cd709e8f461f8859f832d;hpb=07ddaed2a657e4d2a3d038fed223fc5827159caf;p=supertux.git diff --git a/src/object_factory.cpp b/src/object_factory.cpp index afae27fee..0b6916961 100644 --- a/src/object_factory.cpp +++ b/src/object_factory.cpp @@ -46,7 +46,7 @@ GameObject* create_object(const std::string& name, const Vector& pos) lisptext << "(" << name << " (x " << pos.x << ")" << " (y " << pos.y << "))"; - + lisp::Parser parser; std::auto_ptr lisp (parser.parse(lisptext)); return create_object(name, *lisp);