From 6305f0ba29ea6e026272b8f4c9ccff6b634f63bc Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 1 Apr 2005 04:47:03 +0000 Subject: [PATCH] fix "iNewNumTracks > 0" assertion failure when uninitialized m_EditMode happens to be 1 --- stepmania/src/ScreenEdit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index 83d2dea474..840a727311 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -522,6 +522,7 @@ void ScreenEdit::Init() g_iShiftAnchor = -1; + m_EditMode = MODE_INVALID; TransitionEditMode( MODE_EDITING ); this->AddChild( &m_Background );