Fixing SuperTux crashes when compiled on Mac OS X 10.9
[supertux.git] / src / object / spotlight.cpp
index 36b7bef..3735639 100644 (file)
@@ -18,6 +18,7 @@
 #include "sprite/sprite.hpp"
 #include "sprite/sprite_manager.hpp"
 #include "supertux/object_factory.hpp"
+#include "util/reader.hpp"
 
 Spotlight::Spotlight(const Reader& lisp) :
   position(),
@@ -87,6 +88,4 @@ Spotlight::draw(DrawingContext& context)
   context.pop_target();
 }
 
-IMPLEMENT_FACTORY(Spotlight, "spotlight");
-
 /* EOF */