Don't play "On" automatically for non-generic BGAnimations; play it

explicitly, like we do with all other objects.
This commit is contained in:
Glenn Maynard
2005-01-15 19:21:09 +00:00
parent dc7fcbc776
commit c9091a1214
14 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -252,13 +252,13 @@ ScreenCredits::ScreenCredits( CString sName ) : ScreenAttract( sName )
}
m_Overlay.LoadFromAniDir( THEME->GetPathToB("ScreenCredits overlay") );
m_Overlay.PlayCommand( "On" );
this->AddChild( &m_Overlay );
this->MoveToTail( &m_In ); // put it in the back so it covers up the stuff we just added
this->MoveToTail( &m_Out ); // put it in the back so it covers up the stuff we just added
this->ClearMessageQueue( SM_BeginFadingOut ); // ignore ScreenAttract's SecsToShow
LOG->Trace("XXXXXXXXX %f", fTime);
this->PostScreenMessage( SM_BeginFadingOut, fTime );
// this->PostScreenMessage( SM_BeginFadingOut, m_Background.GetLengthSeconds() );
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("credits") );