Updated addon repository URL and improved debug output on download
[supertux.git] / src / worldmap / teleporter.cpp
index ab709d4..41be7b0 100644 (file)
@@ -36,7 +36,7 @@ Teleporter::Teleporter(const Reader& lisp) :
 
   std::string spritefile = "";
   if (lisp.get("sprite", spritefile)) {
-    sprite = sprite_manager->create(spritefile);
+    sprite = SpriteManager::current()->create(spritefile);
   }
 
   lisp.get("worldmap", worldmap);