PhysicsObject now has virtual destructor
authornireco
Fri, 28 Nov 2008 11:50:17 +0000
changeset 113 1b8ade19eedd
parent 112 1b9ad61bdf2d
child 114 71f7e9d3d052
PhysicsObject now has virtual destructor
src/proto2/Physics.hh
--- a/src/proto2/Physics.hh	Fri Nov 28 11:42:56 2008 +0000
+++ b/src/proto2/Physics.hh	Fri Nov 28 11:50:17 2008 +0000
@@ -88,7 +88,7 @@
      * @param shape Corners of the four sided polygon.
      */
     PhysicsObject (PhysicsWorld &world, float mass, Vector position, Vector velocity);
-   
+    ~PhysicsObject() {}   
 
     /**
      * Adds force to the force queue. Force queue is emptied on each