From 7dd160f80792896c4a90e80d1c01e9b823e2b1c5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 21 Jan 2003 03:12:24 +0000 Subject: [PATCH] clear when copying a whole pattern, so we don't leave cruft behind --- stepmania/src/NoteData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/NoteData.cpp b/stepmania/src/NoteData.cpp index d326fa4685..3558357b0f 100644 --- a/stepmania/src/NoteData.cpp +++ b/stepmania/src/NoteData.cpp @@ -91,7 +91,7 @@ void NoteData::Config( const NoteData &From ) void NoteData::CopyAll( NoteData* pFrom ) { Config(*pFrom); - m_HoldNotes.clear(); + ClearAll(); CopyRange( pFrom, 0, pFrom->GetLastRow() ); }