fix "iNewNumTracks > 0" assertion failure when uninitialized m_EditMode happens to be 1

This commit is contained in:
Glenn Maynard
2005-04-01 04:47:03 +00:00
parent 2480f22702
commit 6305f0ba29
+1
View File
@@ -522,6 +522,7 @@ void ScreenEdit::Init()
g_iShiftAnchor = -1;
m_EditMode = MODE_INVALID;
TransitionEditMode( MODE_EDITING );
this->AddChild( &m_Background );