ragdoll quality improvements
[carveJwlIkooP6JGAAIwe30JlM.git] / scene.h
diff --git a/scene.h b/scene.h
index ba23ffbfa4efcc9183153d9cc55f976e0d442bf4..d8fac1ad524a05672feabee916237ddfbeac8acf 100644 (file)
--- a/scene.h
+++ b/scene.h
@@ -414,7 +414,7 @@ static int scene_raycast( scene_context *s, bh_tree *bh,
          v3_copy( s->arrvertices[tri[i]].co, vs[i] );
       
       f32 t;
-      if( ray_tri( vs, co, dir, &t ) ){
+      if( ray_tri( vs, co, dir, &t, 0 ) ){
          if( t < hit->dist ){
             hit->dist = t;
             hit->tri = tri;