fix configure scritp
[supertux.git] / src / object_factory.h
index 7e57835..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
    */
@@ -46,7 +49,7 @@ GameObject* create_object(const std::string& name, const Vector& pos);
 /** comment from Matze:
  * Yes I know macros are evil, but in this specific case they save
  * A LOT of typing and evil code duplication.
- * I'll happily acceppt alternatives if someone can present me one that does
+ * I'll happily accept alternatives if someone can present me one that does
  * not involve typing 4 or more lines for each object class
  */
 #define IMPLEMENT_FACTORY(CLASS, NAME)                            \