VXP

Untitled

VXP
Sep 10th, 2016
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.62 KB | None | 0 0
  1.     if( v31_convert || version <= 31 )
  2.     {
  3.         hdr->version = STUDIO_VERSION;
  4.         for (int i = 0; i < hdr->numseq; i++)
  5.         {
  6.             mstudioseqdesc_t *pSeqdesc = (mstudioseqdesc_t *)hdr->pSeqdesc( i );
  7.             pSeqdesc->numiklocks = -1;
  8.         }
  9.     }
  10.  
  11.     if( v32_convert || version <= 32 )
  12.     {
  13.         hdr->version = STUDIO_VERSION;
  14.         hdr->numhitboxsets = -1;
  15.     }
  16.  
  17.     if ( v35_convert || version <= 35 )
  18.     {
  19.         hdr->contents = CONTENTS_SOLID;
  20.  
  21.         int i;
  22.         for( i = 0; i < hdr->numbones; i++ )
  23.         {
  24.             mstudiobone_t *pBone = hdr->pBone( i );
  25.             pBone->contents = CONTENTS_SOLID;
  26.         }
  27.     }
Advertisement
Add Comment
Please, Sign In to add comment