more physics shapes
[carveJwlIkooP6JGAAIwe30JlM.git] / character.h
index 71299e85374274ed7906c64d8da34124f6c9a1f5..3421d3a4df9117a648f5446182cf08811c3fa73a 100644 (file)
@@ -904,7 +904,7 @@ static void character_ragdoll_iter( struct character *ch )
 
    v3f rv;
 
-   float shoe_vel[2];
+   float shoe_vel[2] = {0.0f,0.0f};
    for( int i=0; i<2; i++ )
       if( ch->shoes[i] )
          shoe_vel[i] = v3_length( ch->ragdoll[i].v );