remove redundant element

This commit is contained in:
Chris Danford
2005-04-18 07:26:16 +00:00
parent 5452cd4851
commit 6569f90746
2 changed files with 1 additions and 8 deletions
+1 -6
View File
@@ -253,12 +253,7 @@ ScreenCredits::ScreenCredits( CString sName ) : ScreenAttract( sName )
fTime = max( fTime, TEXTS_SCROLL_SECONDS_PER_ITEM*(fLast-fFirst) );
}
m_Overlay.LoadFromAniDir( THEME->GetPathB("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->SortByDrawOrder();
this->ClearMessageQueue( SM_BeginFadingOut ); // ignore ScreenAttract's SecsToShow
this->PostScreenMessage( SM_BeginFadingOut, fTime );
-2
View File
@@ -21,8 +21,6 @@ private:
ActorScroller m_ScrollerBackgrounds;
ActorScroller m_ScrollerFrames;
ActorScroller m_ScrollerTexts;
BGAnimation m_Overlay;
};
#endif