unwrap LoadMilkshapeAsciiBones (no other changes)
This commit is contained in:
@@ -286,8 +286,9 @@ void Model::LoadMilkshapeAsciiBones( CString sAniName, CString sPath )
|
|||||||
// bones
|
// bones
|
||||||
//
|
//
|
||||||
int nNumBones = 0;
|
int nNumBones = 0;
|
||||||
if( sscanf (sLine, "Bones: %d", &nNumBones) == 1 )
|
if( sscanf (sLine, "Bones: %d", &nNumBones) != 1 )
|
||||||
{
|
continue;
|
||||||
|
|
||||||
m_mapNameToAnimation[sAniName] = msAnimation();
|
m_mapNameToAnimation[sAniName] = msAnimation();
|
||||||
msAnimation &Animation = m_mapNameToAnimation[sAniName];
|
msAnimation &Animation = m_mapNameToAnimation[sAniName];
|
||||||
|
|
||||||
@@ -396,7 +397,6 @@ void Model::LoadMilkshapeAsciiBones( CString sAniName, CString sPath )
|
|||||||
|
|
||||||
PlayAnimation( sAniName );
|
PlayAnimation( sAniName );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Model::EarlyAbortDraw()
|
bool Model::EarlyAbortDraw()
|
||||||
|
|||||||
Reference in New Issue
Block a user