fix configure scritp
[supertux.git] / src / object_factory.h
index c9a57e0..bbf353b 100644 (file)
@@ -23,7 +23,7 @@
 #include <map>
 
 #include "lisp/lisp.h"
-#include "special/game_object.h"
+#include "game_object.h"
 #include "math/vector.h"
 
 using namespace SuperTux;
@@ -31,6 +31,9 @@ using namespace SuperTux;
 class Factory
 {
 public:
+  virtual ~Factory()
+  { }
+    
   /** Creates a new gameobject from a lisp node.
    * Remember to delete the objects later
    */