unwrap LoadMilkshapeAsciiBones (no other changes)

This commit is contained in:
Glenn Maynard
2004-08-19 07:47:56 +00:00
parent 73420d5aa1
commit e6bc94a4af
+3 -3
View File
@@ -286,8 +286,9 @@ void Model::LoadMilkshapeAsciiBones( CString sAniName, CString sPath )
// bones
//
int nNumBones = 0;
if( sscanf (sLine, "Bones: %d", &nNumBones) == 1 )
{
if( sscanf (sLine, "Bones: %d", &nNumBones) != 1 )
continue;
m_mapNameToAnimation[sAniName] = msAnimation();
msAnimation &Animation = m_mapNameToAnimation[sAniName];
@@ -397,7 +398,6 @@ void Model::LoadMilkshapeAsciiBones( CString sAniName, CString sPath )
PlayAnimation( sAniName );
}
}
}
bool Model::EarlyAbortDraw()
{