bitpack_qf32( ctx, 8, -k_sit_pitch_limit, k_sit_pitch_limit,
&animator->pitch );
- bitpack_bytes( ctx, 8, &animator->outro_type );
- if( animator->outro_type ){
- bitpack_bytes(ctx, sizeof(animator->foot_anchor), animator->foot_anchor );
- bitpack_qf32( ctx, 8, 0.0f, 1.0f, &animator->outro_t );
- bitpack_qf32( ctx, 8, 0.0f, 1.0f, &animator->commit_t );
+ for( int i=0; i<1; i++ ){ /* without this you get a warning from gcc. lol */
+ bitpack_bytes( ctx, 8, &animator->outro_type );
+ if( animator->outro_type ){
+ bitpack_bytes( ctx, sizeof(animator->foot_anchor),
+ animator->foot_anchor );
+ bitpack_qf32( ctx, 8, 0.0f, 1.0f, &animator->outro_t );
+ bitpack_qf32( ctx, 8, 0.0f, 1.0f, &animator->commit_t );
+ }
}
}
#endif /* PLAYER_DEVICE_WALK_H */