From 7a74387658fa362593da7dcaae1d567821611435 Mon Sep 17 00:00:00 2001 From: Thad Ward Date: Sun, 14 Sep 2003 21:25:59 +0000 Subject: [PATCH] after we change to the directory with the executable, we need to clear out the FileDB cache. --- stepmania/src/StepMania.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index a81a7d94a1..a78c1d038c 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -109,7 +109,10 @@ static void ChangeToDirOfExecutable(const char *argv0) * are and use paths as needed, so we don't depend on the binary being * in the same place as "Songs" ... */ if( !DoesFileExist("Songs") ) + { chdir( DirOfExecutable ); + FlushDirCache(); + } #endif }