fixed a mismatced new[] with a delete[]
authorPatrik Gornicz <Gornicz.P@gmail.com>
Sat, 2 Aug 2008 01:19:07 +0000 (21:19 -0400)
committerPatrik Gornicz <Gornicz.P@gmail.com>
Sat, 2 Aug 2008 01:19:07 +0000 (21:19 -0400)
src/effectManager.cpp

index cc3eb73..c22510a 100644 (file)
@@ -25,7 +25,7 @@ void effect::clean()
         delete effects[i];
     }
 
-    delete effects;
+    delete[] effects;
 }
 
 Vector2 effect::positionDelta(const PhysicsEntity* e, float time_step)