if( button_down(k_srbind_sit) ){
v3_zero( localplayer.rb.v );
w->state.activity = k_walk_activity_sit;
+ w->state.transition_t = 0.0f;
return;
}
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 );
- bitpack_qf32( ctx, 8, 0.0f, 1.0f, &animator->walk );
+ bitpack_qf32( ctx, 8, 0.0f, k_runspeed, &animator->run );
bitpack_qf32( ctx, 16, 0.0f, 120.0f, &animator->walk_timer );
for( int i=0; i<1; i++ ){ /* without this you get a warning from gcc. lol */