From 4e2f388b79ba89fd9f13805b2e69d6311f928f75 Mon Sep 17 00:00:00 2001 From: Stanislaw Skowronek Date: Fri, 15 Nov 2013 21:21:23 -0500 Subject: Clean some state on new solid. 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; -- cgit v0.9.2-21-gd62e