projects
/
libbear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3980ceb
)
fixed a mismatced new[] with a delete[]
author
Patrik Gornicz
<Gornicz.P@gmail.com>
Sat, 2 Aug 2008 01:19:07 +0000
(21:19 -0400)
committer
Patrik Gornicz
<Gornicz.P@gmail.com>
Sat, 2 Aug 2008 01:19:07 +0000
(21:19 -0400)
src/effectManager.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/effectManager.cpp
b/src/effectManager.cpp
index
cc3eb73
..
c22510a
100644
(file)
--- a/
src/effectManager.cpp
+++ b/
src/effectManager.cpp
@@
-25,7
+25,7
@@
void effect::clean()
delete effects[i];
}
- delete effects;
+ delete
[]
effects;
}
Vector2 effect::positionDelta(const PhysicsEntity* e, float time_step)