Add a little error detection.

This commit is contained in:
Thad Ward
2003-08-25 14:44:46 +00:00
parent 989a56e8bb
commit 4926712fb9
+2 -1
View File
@@ -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