dispenser can now drop random badguys
[supertux.git] / src / object_factory.h
index c9a57e0..7ff6028 100644 (file)
@@ -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
    */