fixed recursive build script
[carveJwlIkooP6JGAAIwe30JlM.git] / rigidbody.h
index a327488972dd0a5989165c8dd550caa245a30499..282643a1eb0b01f6672207ea6e894d40f4beae46 100644 (file)
@@ -1866,10 +1866,10 @@ static void rb_effect_simple_bouyency( rigidbody *ra, v4f plane,
    float depth  = v3_dot( plane, ra->co ) - plane[3],
          lambda = vg_clampf( -depth, 0.0f, 1.0f ) * amt;
 
-   v3_muladds( ra->v, plane, lambda * ktimestep, ra->v );
+   v3_muladds( ra->v, plane, lambda * VG_TIMESTEP_FIXED, ra->v );
 
    if( depth < 0.0f )
-      v3_muls( ra->v, 1.0f-(drag*ktimestep), ra->v );
+      v3_muls( ra->v, 1.0f-(drag*VG_TIMESTEP_FIXED), ra->v );
 }
 
 /*