X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_walk.c;h=8b493a8e49a7c1856ab7cfeb94f824e6e19b3c47;hb=ce0205fd929e5fb1446f8c52fcab344884d82569;hp=6400d304c51debcdc964a605c784164544e383de;hpb=e75926c89391d28ea586362158767daaa876c759;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_walk.c b/player_walk.c index 6400d30..8b493a8 100644 --- a/player_walk.c +++ b/player_walk.c @@ -964,8 +964,8 @@ static void player__walk_reset( ent_spawn *rp ){ static void player__walk_animator_exchange( bitpack_ctx *ctx, void *data ){ struct player_walk_animator *animator = data; - //bitpack_bytes( ctx, sizeof(*animator), animator ); - bitpack_bytes( ctx, sizeof(animator->root_co), animator->root_co ); + + bitpack_qv3f( ctx, 24, -1024.0f, 1024.0f, animator->root_co ); bitpack_qquat( ctx, animator->root_q ); bitpack_qf32( ctx, 8, 0.0f, 1.0f, &animator->fly ); bitpack_qf32( ctx, 8, 0.0f, 1.0f, &animator->run );