From 0e94b4cbdfb7acbe8e38276c525267b07100cb57 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 16 Jan 2005 14:53:32 +0000 Subject: [PATCH] SM_BeginFadingOut is being sent by ScreenAttract already --- stepmania/src/ScreenEnding.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/stepmania/src/ScreenEnding.cpp b/stepmania/src/ScreenEnding.cpp index 444ce38971..ea372ff037 100644 --- a/stepmania/src/ScreenEnding.cpp +++ b/stepmania/src/ScreenEnding.cpp @@ -256,22 +256,6 @@ ScreenEnding::~ScreenEnding() void ScreenEnding::Update( float fDeltaTime ) { - // The shared background isn't loaded until the screen is actually - // showing. The background is loaded by the time of the first update. - if( IsFirstUpdate() ) - { - BGAnimation &background = *SCREENMAN->m_pSharedBGA; - float fSecsUntilBeginFadingOut = background.GetTweenTimeLeft() - m_Out.GetTweenTimeLeft(); - if( fSecsUntilBeginFadingOut < 0 ) - { - LOG->Warn( "Screen '%s' Out BGAnimation (%f seconds) is longer than Background BGAnimation (%f seconds); background BGA will be truncated", - m_sName.c_str(), m_Out.GetTweenTimeLeft(), background.GetTweenTimeLeft() ); - fSecsUntilBeginFadingOut = 0; - } - this->PostScreenMessage( SM_BeginFadingOut, fSecsUntilBeginFadingOut ); - } - - ScreenAttract::Update( fDeltaTime ); if( m_In.IsTransitioning() && m_Out.IsTransitioning() )