X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_replay.c;h=f3b4a51c0347d69c6ae07d40a0cb0063faec7bfb;hb=171b279a489f1b906265759b33249f61d48d3d5f;hp=31c4c74ead695a6cf789c060337956d07b543aed;hpb=f0ba02684dbf4722afa2dcfd491d56921162182a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_replay.c b/player_replay.c index 31c4c74..f3b4a51 100644 --- a/player_replay.c +++ b/player_replay.c @@ -305,7 +305,7 @@ static void skaterift_record_frame( replay_buffer *replay, else if( localplayer.subsystem == k_player_subsystem_dead ){ struct replay_rb *arr = dst; for( u32 i=0; ico, arr[i].co ); v3_copy( rb->w, arr[i].w ); v3_copy( rb->v, arr[i].v ); @@ -376,7 +376,7 @@ void skaterift_restore_frame( replay_frame *frame ){ for( u32 i=0; iobj.rb; + rigidbody *rb = &part->rb; v3_copy( arr[i].co, rb->co ); v3_copy( arr[i].w, rb->w );