summaryrefslogtreecommitdiff
path: root/src/simulation
diff options
context:
space:
mode:
authorStanislaw Skowronek <skylark@disorder.sko>2013-11-16 02:21:23 (GMT)
committer Stanislaw Skowronek <skylark@disorder.sko>2013-11-16 02:21:23 (GMT)
commit4e2f388b79ba89fd9f13805b2e69d6311f928f75 (patch)
tree8095bac14c41bc8728d68e1c648c6052c8a70ab4 /src/simulation
parent28f8a82a9df396a649a8784b56cb541e2a45a789 (diff)
downloadpowder-4e2f388b79ba89fd9f13805b2e69d6311f928f75.zip
powder-4e2f388b79ba89fd9f13805b2e69d6311f928f75.tar.gz
Clean some state on new solid.
Diffstat (limited to 'src/simulation')
-rw-r--r--src/simulation/tools/SolidTool.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/simulation/tools/SolidTool.cpp b/src/simulation/tools/SolidTool.cpp
index b147820..1cbfa46 100644
--- a/src/simulation/tools/SolidTool.cpp
+++ b/src/simulation/tools/SolidTool.cpp
@@ -44,7 +44,9 @@ int Tool_Solid::Perform(Simulation * sim, Particle * cpart, int x, int y, float
sld->vx = sld->vy = sld->vrot = 0.0f;
sld->cx = x;
sld->cy = y;
- sld->ax = sld->ay = sld->arot = 0.0f;
+ sld->cdx = x;
+ sld->cdy = y;
+ sld->ax = sld->ay = sld->arot = sld->arad = 0.0f;
sld->an = 0;
sld->bf = 0;
sld->bpx[0] = -10000;