freaky-deaky outside debugger-only crash in NoteData. Why didn't VC7 catch use of an uninitialized variable?!?

This commit is contained in:
Chris Danford
2003-02-10 07:38:12 +00:00
parent 538081f804
commit 1438af64a1
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -21,6 +21,7 @@
#include "GameState.h"
#include "math.h"
#include "NotesLoaderSM.h"
#include "RageLog.h"
NoteData::NoteData()
@@ -30,8 +31,8 @@ NoteData::NoteData()
void NoteData::Init()
{
m_iNumTracks = 0; // must do this before calling ClearAll()!
ClearAll();
m_iNumTracks = 0;
}
NoteData::~NoteData()