From 8d0746bce8c94fa3fb690099150e7db776b40fd3 Mon Sep 17 00:00:00 2001 From: Thad Ward Date: Sun, 14 Sep 2003 19:37:21 +0000 Subject: [PATCH] when clearing the cache, don't remove instructions.txt --- stepmania/src/SongCacheIndex.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/SongCacheIndex.cpp b/stepmania/src/SongCacheIndex.cpp index 40e1ba7bbd..c5d848f06a 100644 --- a/stepmania/src/SongCacheIndex.cpp +++ b/stepmania/src/SongCacheIndex.cpp @@ -35,6 +35,8 @@ static void EmptyDir( CString dir ) { if (0 == stricmp( asCacheFileNames[i], ".cvsignore" )) // don't delete .cvsignore files continue; + if (0 == stricmp( asCacheFileNames[i], "instructions.txt" )) // don't delete the instructions file. + continue; remove( dir + asCacheFileNames[i] ); }