fix LockInputSecs not being set correctly, and pressing Start early would choose without starting SM_GoToNextScreen

This commit is contained in:
Chris Danford
2009-04-04 17:45:07 +00:00
parent 6afd28c002
commit 167a061b3e
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -183,8 +183,8 @@ void ScreenSelect::HandleScreenMessage( const ScreenMessage SM )
SCREENMAN->RefreshCreditsMessages();
if( !IsTransitioning() )
StartTransitioningScreen( SM_GoToNextScreen );
ASSERT( !IsTransitioning() );
StartTransitioningScreen( SM_GoToNextScreen );
}
ScreenWithMenuElements::HandleScreenMessage( SM );
+3 -2
View File
@@ -269,9 +269,10 @@ void ScreenSelectMaster::BeginScreen()
this->UpdateSelectableChoices();
m_fLockInputSecs = this->GetTweenTimeLeft();
ScreenSelect::BeginScreen();
// Call GetTweenTimeLeft after the base BeginScreen has started the in Transition.
m_fLockInputSecs = this->GetTweenTimeLeft();
}
void ScreenSelectMaster::HandleScreenMessage( const ScreenMessage SM )