summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-18 23:49:24 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-18 23:49:24 (GMT)
commit0092229132448e83b08458a2a0c1e15283065372 (patch)
tree5e318b22572fd63b51c05432f115b1b38dd088c5 /src/simulation/Simulation.cpp
parent93afe0a1ea45efb5d62608555784580d4513bfd0 (diff)
downloadpowder-0092229132448e83b08458a2a0c1e15283065372.zip
powder-0092229132448e83b08458a2a0c1e15283065372.tar.gz
Don't delete Simulation::Elements now that it's not runtime allocated
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index db0103c..d31e2e7 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -4528,7 +4528,6 @@ void Simulation::update_particles()//doesn't update the particles themselves, bu
Simulation::~Simulation()
{
- delete[] elements;
delete[] platent;
delete grav;
delete air;