re-play On and the loaded sound on reset
This commit is contained in:
@@ -89,6 +89,13 @@ void Transition::UpdateInternal( float fDeltaTime )
|
|||||||
void Transition::Reset()
|
void Transition::Reset()
|
||||||
{
|
{
|
||||||
m_State = waiting;
|
m_State = waiting;
|
||||||
|
m_bFirstUpdate = true;
|
||||||
|
|
||||||
|
if( m_sprTransition.IsLoaded() )
|
||||||
|
{
|
||||||
|
m_sprTransition->FinishTweening();
|
||||||
|
m_sprTransition->PlayCommand( "On" );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Transition::EarlyAbortDraw()
|
bool Transition::EarlyAbortDraw()
|
||||||
|
|||||||
Reference in New Issue
Block a user