An initializer line was missing from the beginning of a loop, causing crashes.

This commit is contained in:
Joseph Eagar 2008-06-23 07:59:26 +00:00
parent fcc377e204
commit cb6fd8927c
1 changed files with 1 additions and 0 deletions

View File

@ -2596,6 +2596,7 @@ static void precalc_effectors(Object *ob, ParticleSystem *psys, ParticleSystemMo
for(ec= lb->first; ec; ec= ec->next) {
PartDeflect *pd= ec->ob->pd;
co = NULL;
if(ec->type==PSYS_EC_EFFECTOR && pd->forcefield==PFIELD_GUIDE && ec->ob->type==OB_CURVE
&& part->phystype!=PART_PHYS_BOIDS) {