From 7eac7ab4f11a153d406f79547aa778097f09c4d8 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 5 Dec 2003 06:10:12 +0000 Subject: [PATCH] fix assert fail --- stepmania/src/StepMania.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 87bb007fca..31676b54be 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -821,7 +821,8 @@ int main(int argc, char* argv[]) /* Set up alternative filesystem trees. */ for( unsigned i=0; im_asAdditionalSongFolders.size(); i++ ) FILEMAN->Mount( "dir", PREFSMAN->m_asAdditionalSongFolders[i], "Songs" ); - FILEMAN->Mount( "dir", PREFSMAN->m_DWIPath, "" ); + if( PREFSMAN->m_DWIPath != "" ) + FILEMAN->Mount( "dir", PREFSMAN->m_DWIPath, "" ); GAMEMAN = new GameManager; THEME = new ThemeManager;