summaryrefslogtreecommitdiff
path: root/src/simulation/tools/SolidTool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/tools/SolidTool.cpp')
-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;