projects
/
physics.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed a mismatced new[] with a delete[]
[physics.git]
/
src
/
effectManager.cpp
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)