aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-02-28 07:16:40 +0000
committerGravatar chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> 2014-02-28 07:16:40 +0000
commitaed99b27218aaf0068d04c24ba938e405c73c80f (patch)
tree07a19ef99c67454e87bea5183d7a2981c773d33a /main.cpp
parentf473442598933c939b10dcc982f5780b903c7394 (diff)
downloadbullet-lab-remix-aed99b27218aaf0068d04c24ba938e405c73c80f.tar.xz
Fix memory leak in level "diffraction", rearrange levels.
There are also other small fixes, see Changelog for details.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 9d091d4..43a432c 100644
--- a/main.cpp
+++ b/main.cpp
@@ -567,6 +567,7 @@ bool FrameFunc()
//Render towers, bullets and player.
if (Leaves.IsActive())Leaves.Update();
if (binter.active())binter.Update();
+ if (bdiff.active())bdiff.Update();
if (LE_Active||Head){if (!Head)Tail=Head=new Leaf_Anim(),Head->init(990);Head->Process();}
shots=0;
dsmc=0;