move timespacing on player options screen

This commit is contained in:
Chris Danford
2003-04-24 06:16:04 +00:00
parent 674f1c1704
commit 977ad34638
9 changed files with 74 additions and 101 deletions
+8 -1
View File
@@ -90,7 +90,14 @@ void Transition::DrawPrimitives()
void Transition::StartTransitioning( ScreenMessage send_when_done )
{
ASSERT( m_State == waiting ); // can't call this more than once
if( m_State != waiting )
{
// This assert will trigger in some cases if start is pressed
// right as a transition is ending. We want to know about these
// problems in debug builds, but they're not fatal.
DEBUG_ASSERT( m_State == waiting ); // can't call this more than once
return; // ignore
}
m_MessageToSendWhenDone = send_when_done;
m_State = transitioning;
m_fSecsIntoTransition = 0.0;