Create an "Other" category for ScreenHowToPlay steps.sm, and other

files that don't really go anywhere else.

Fix possible ELEMENT_CATEGORY_STRING null pointer dereference.
This commit is contained in:
Glenn Maynard
2003-09-11 23:21:33 +00:00
parent 6b84056a1c
commit f948027667
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ ScreenHowToPlay::ScreenHowToPlay() : ScreenAttract("ScreenHowToPlay")
}
SMLoader smfile;
smfile.LoadFromSMFile( THEME->GetPathToSM(STEPFILE), m_Song, false );
smfile.LoadFromSMFile( THEME->GetPathToO(STEPFILE), m_Song, false );
ASSERT( m_Song.m_apNotes.size() == 1 );
m_Song.m_apNotes[0]->GetNoteData(&m_NoteData);