add hibernate (don't draw or update) to Actor
This commit is contained in:
@@ -55,6 +55,9 @@ void ActorScroller::Update( float fDeltaTime )
|
||||
{
|
||||
ActorFrame::Update( fDeltaTime );
|
||||
|
||||
if( m_fHibernateSecondsLeft > 0 )
|
||||
return; // early abort
|
||||
|
||||
fapproach( m_fCurrentItem, m_fDestinationItem, fDeltaTime/m_fSecondsPerItem );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user