fix Assertion '!actor.GetID().empty()' failed
This commit is contained in:
@@ -100,6 +100,7 @@ ScreenHowToPlay::ScreenHowToPlay( CString sName ) : ScreenAttract( sName )
|
|||||||
if( sModelPath != "" )
|
if( sModelPath != "" )
|
||||||
{
|
{
|
||||||
m_pmCharacter = new Model;
|
m_pmCharacter = new Model;
|
||||||
|
m_pmCharacter->SetName( "Character" );
|
||||||
m_pmCharacter->LoadMilkshapeAscii( rndchar->GetModelPath() );
|
m_pmCharacter->LoadMilkshapeAscii( rndchar->GetModelPath() );
|
||||||
m_pmCharacter->LoadMilkshapeAsciiBones( "Step-LEFT", GetAnimPath( ANIM_LEFT ) );
|
m_pmCharacter->LoadMilkshapeAsciiBones( "Step-LEFT", GetAnimPath( ANIM_LEFT ) );
|
||||||
m_pmCharacter->LoadMilkshapeAsciiBones( "Step-DOWN", GetAnimPath( ANIM_DOWN ) );
|
m_pmCharacter->LoadMilkshapeAsciiBones( "Step-DOWN", GetAnimPath( ANIM_DOWN ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user