mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 19:29:52 +02:00
Free platent and elements
This commit is contained in:
@@ -4228,6 +4228,8 @@ void Simulation::update_particles()//doesn't update the particles themselves, bu
|
|||||||
|
|
||||||
Simulation::~Simulation()
|
Simulation::~Simulation()
|
||||||
{
|
{
|
||||||
|
delete[] elements;
|
||||||
|
delete[] platent;
|
||||||
delete grav;
|
delete grav;
|
||||||
delete air;
|
delete air;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user