network oneshots
[carveJwlIkooP6JGAAIwe30JlM.git] / player_dead.c
index 957f38d409894c2533b9a027e14e7c3fa7bf5801..8c558eeb33f1e77e12f00018f480c98aeaf50c60 100644 (file)
@@ -136,4 +136,13 @@ static void player__dead_transition(void){
    v3_copy( part->obj.rb.w,  player_dead.w_lpf );
 }
 
+static void player__dead_animator_exchange( bitpack_ctx *ctx, void *data ){
+   struct player_dead_animator *animator = data;
+
+   for( u32 i=0; i<localplayer.playeravatar->sk.bone_count; i ++ ){
+      bitpack_qv3f( ctx, 24, -1024.0f, 1024.0f, animator->transforms[i].co );
+      bitpack_qquat( ctx, animator->transforms[i].q );
+   }
+}
+
 #endif /* PLAYER_DEAD_C */