This commit is contained in:
Glenn Maynard
2005-06-19 08:56:45 +00:00
parent a0dcb3dc81
commit bfc49737fe
+3 -3
View File
@@ -144,9 +144,8 @@ bool ScreenManager::IsStackedScreen( const Screen *pScreen ) const
void ScreenManager::Update( float fDeltaTime ) void ScreenManager::Update( float fDeltaTime )
{ {
// Only update the topmost screen on the stack. /*
* Screens take some time to load. If we don't do this, then screens
/* Screens take some time to load. If we don't do this, then screens
* receive an initial update that includes all of the time they spent * receive an initial update that includes all of the time they spent
* loading, which will chop off their tweens. * loading, which will chop off their tweens.
* *
@@ -175,6 +174,7 @@ void ScreenManager::Update( float fDeltaTime )
m_bZeroNextUpdate = false; m_bZeroNextUpdate = false;
} }
// Only update the topmost screen on the stack.
if( pScreen ) if( pScreen )
pScreen->Update( fDeltaTime ); pScreen->Update( fDeltaTime );