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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user