summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-20 12:41:03 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-20 12:41:03 (GMT)
commit7fc8d5f388039da885b3432cdfe7d5b7f4ace07c (patch)
tree333f10265dbcbe06f8ef218c553789585ba065ff /src/simulation/Simulation.cpp
parent9ecc29d24c335f46277193b1f54c95e8da9ce17c (diff)
downloadpowder-7fc8d5f388039da885b3432cdfe7d5b7f4ace07c.zip
powder-7fc8d5f388039da885b3432cdfe7d5b7f4ace07c.tar.gz
Add missing legacy update function
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index ba24893..d9da206 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -3851,8 +3851,8 @@ void Simulation::update_particles_i(int start, int inc)
y = (int)(parts[i].y+0.5f);
}
#endif
- //if (legacy_enable)//if heat sim is off
- //update_legacy_all(this, i,x,y,surround_space,nt, parts, pmap); //TODO:pop
+ if(legacy_enable)//if heat sim is off
+ Element::legacyUpdate(this, i,x,y,surround_space,nt, parts, pmap);
killed:
if (parts[i].type == PT_NONE)//if its dead, skip to next particle