Fix compile error after last commit in boids.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 16 Sep 2010 20:33:46 +0000 (20:33 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 16 Sep 2010 20:33:46 +0000 (20:33 +0000)
source/blender/blenkernel/intern/boids.c

index e408f73e6c828f42b5f4f6765b29566eac925cc4..69a42e52247851d60c3145ea89473c939c520945 100644 (file)
@@ -792,7 +792,7 @@ static Object *boid_find_ground(BoidBrainData *bbd, ParticleData *pa, float *gro
                }
 
                /* couldn't find below, so find upmost deflector object */
-               add_v3_v3(col.co1, pa->state.co, zvec);
+               add_v3_v3v3(col.co1, pa->state.co, zvec);
                sub_v3_v3v3(col.co2, pa->state.co, zvec);
                sub_v3_v3(col.co2, zvec);
                sub_v3_v3v3(ray_dir, col.co2, col.co1);