diff --git a/src/simulation/elements/CLST.cpp b/src/simulation/elements/CLST.cpp index 3cab1f716..ab62acb10 100644 --- a/src/simulation/elements/CLST.cpp +++ b/src/simulation/elements/CLST.cpp @@ -50,7 +50,7 @@ Element_CLST::Element_CLST() int Element_CLST::update(UPDATE_FUNC_ARGS) { int r, rx, ry; - float cxy; + float cxy = 0; for (rx=-2; rx<3; rx++) for (ry=-2; ry<3; ry++) if (x+rx>=0 && y+ry>0 && x+rx= 295 && parts[i].temp <350) cxy = 0.01; - if(parts[i].temp > 350) + if(parts[i].temp >= 350) cxy = 0.005; parts[i].vx += cxy*rx; parts[i].vy += cxy*ry;//These two can be set not to calculate over 350 later. They do virtually nothing over 0.005.