use GetNextScreen()

This commit is contained in:
Glenn Maynard
2006-01-15 18:35:26 +00:00
parent 46485f885d
commit 4ed508978a
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -10,7 +10,6 @@ AutoScreenMessage( SM_PrepScreen )
REGISTER_SCREEN_CLASS( ScreenSplash );
ScreenSplash::ScreenSplash( CString sClassName ) : ScreenWithMenuElements( sClassName ),
ALLOW_START_TO_SKIP (m_sName,"AllowStartToSkip"),
NEXT_SCREEN (m_sName,"NextScreen"),
MINIMUM_LOAD_DELAY_SECONDS (m_sName,"MinimumLoadDelaySeconds"),
PREPARE_SCREEN (m_sName,"PrepareScreen")
{
@@ -30,7 +29,7 @@ void ScreenSplash::HandleScreenMessage( const ScreenMessage SM )
{
RageTimer length;
if( PREPARE_SCREEN )
SCREENMAN->PrepareScreen( NEXT_SCREEN );
SCREENMAN->PrepareScreen( GetNextScreen() );
float fScreenLoadSeconds = length.GetDeltaTime();
/* The screen load took fScreenLoadSeconds. Move on to the next screen after