[ScreenHowToPlay] Run InitCommand on Characters if enabled.
This commit is contained in:
@@ -8,6 +8,10 @@ ________________________________________________________________________________
|
|||||||
StepMania 5.0 ???? ?? | 20120???
|
StepMania 5.0 ???? ?? | 20120???
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
2012/07/02
|
||||||
|
----------
|
||||||
|
* [ScreenHowToPlay] Run InitCommand on Characters if enabled. [AJ]
|
||||||
|
|
||||||
2012/06/27
|
2012/06/27
|
||||||
----------
|
----------
|
||||||
* [SongManager] Ending a group's name in PreferredSongs with "/*" will now load
|
* [SongManager] Ending a group's name in PreferredSongs with "/*" will now load
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ void ScreenHowToPlay::Init()
|
|||||||
// xxx: hardcoded rotation. can be undone, but still. -freem
|
// xxx: hardcoded rotation. can be undone, but still. -freem
|
||||||
m_pmCharacter->SetRotationX( 40 );
|
m_pmCharacter->SetRotationX( 40 );
|
||||||
m_pmCharacter->SetCullMode( CULL_NONE ); // many of the models floating around have the vertex order flipped
|
m_pmCharacter->SetCullMode( CULL_NONE ); // many of the models floating around have the vertex order flipped
|
||||||
|
m_pmCharacter->RunCommands( displayChar->m_cmdInit ); // run InitCommand from file
|
||||||
ActorUtil::LoadAllCommandsAndSetXY( m_pmCharacter, m_sName );
|
ActorUtil::LoadAllCommandsAndSetXY( m_pmCharacter, m_sName );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user