From a47ef7e9f298f19da11e80a1e6d93caaa38abaff Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 3 Nov 2002 01:34:52 +0000 Subject: [PATCH] The vector code in NoteData doesn't like the statics. Better would be to reserve an appropriate amount in NoteData, so we don't reallocate too much ... --- stepmania/src/Song.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index 1acd540082..e90d86af5b 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -819,8 +819,8 @@ next_notes_type: pNewNotes->m_sDescription = pOriginalNotes->m_sDescription + " (autogen)"; pNewNotes->m_NotesType = ntMissing; - static NoteData originalNoteData; - static NoteData newNoteData; + NoteData originalNoteData; + NoteData newNoteData; pOriginalNotes->GetNoteData( &originalNoteData ); newNoteData.LoadTransformedSlidingWindow( &originalNoteData, iNumTracksOfMissing ); pNewNotes->SetNoteData( &newNoteData );