cleanup
This commit is contained in:
@@ -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 );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user