From 4926712fb93271ed6ce595512b61f8e6ff938b28 Mon Sep 17 00:00:00 2001 From: Thad Ward Date: Mon, 25 Aug 2003 14:44:46 +0000 Subject: [PATCH] Add a little error detection. --- stepmania/src/BeginnerHelper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/BeginnerHelper.cpp b/stepmania/src/BeginnerHelper.cpp index 4e6107deb8..aa6ef1be38 100644 --- a/stepmania/src/BeginnerHelper.cpp +++ b/stepmania/src/BeginnerHelper.cpp @@ -69,7 +69,8 @@ void BeginnerHelper::SetFlash( CString sFilename, float fX, float fY ) void BeginnerHelper::Initialize( int iDancePadType, NoteData *pNotes ) { - // Copy the note data from our caller. + // Copy the note data + ASSERT(pNotes != NULL); m_NoteData.CopyAll(pNotes); // Load the StepCircle, Background, and flash animation