Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void UpdateBoneMatrix ( void )
- {
- while ( true )
- {
- DWORD dwEntity = 0;
- HalfLife.Read ( dwCurrentEntity, &dwEntity, sizeof(DWORD) );
- if ( !dwEntity )
- continue;
- HalfLife.Read ( dwEntity, &dwEntity, sizeof(DWORD) );
- if ( !dwEntity || dwEntity > 32 )
- continue;
- HalfLife.Read ( dwBoneTransform, &EntityBoneTransform[dwEntity], sizeof(TransformMatrix) );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment