[ScreenHowToPlay] Run InitCommand on Characters if enabled.

This commit is contained in:
AJ Kelly
2012-07-02 16:57:22 -05:00
parent 2c01d46559
commit efb3b0b3ed
2 changed files with 358 additions and 353 deletions
+4
View File
@@ -8,6 +8,10 @@ ________________________________________________________________________________
StepMania 5.0 ???? ?? | 20120???
--------------------------------------------------------------------------------
2012/07/02
----------
* [ScreenHowToPlay] Run InitCommand on Characters if enabled. [AJ]
2012/06/27
----------
* [SongManager] Ending a group's name in PreferredSongs with "/*" will now load
+1
View File
@@ -119,6 +119,7 @@ void ScreenHowToPlay::Init()
// xxx: hardcoded rotation. can be undone, but still. -freem
m_pmCharacter->SetRotationX( 40 );
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 );
}
}