From 32ca276305321af75398a55415dfd642033e942a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 19 May 2003 19:58:46 +0000 Subject: [PATCH] read global data before reading notes --- stepmania/src/NotesLoaderKSF.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/NotesLoaderKSF.cpp b/stepmania/src/NotesLoaderKSF.cpp index f1bbdbc16c..aa6a05ef7d 100644 --- a/stepmania/src/NotesLoaderKSF.cpp +++ b/stepmania/src/NotesLoaderKSF.cpp @@ -276,6 +276,9 @@ bool KSFLoader::LoadFromDir( CString sDir, Song &out ) if( arrayKSFFileNames.empty() ) RageException::Throw( "Couldn't find any KSF files in '%s'", sDir.c_str() ); + if(!LoadGlobalData(out.GetSongDir() + arrayKSFFileNames[0], out)) + return false; + // load the Notes from the rest of the KSF files unsigned i; for( i=0; i