From 2f3c66a9f26232d3f4eb4c846cf9eba7ca3741a6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 30 Dec 2003 02:16:00 +0000 Subject: [PATCH] optimization: file hash of a directory is meaningless; only use the name (plus file hashes of contents) --- stepmania/src/RageFileManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index a05c556735..bab5499f18 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -506,7 +506,7 @@ unsigned int GetHashForDirectory( const CString &sDir ) { unsigned int hash = 0; - hash += GetHashForFile( sDir ); + hash += GetHashForString( sDir ); CStringArray arrayFiles; GetDirListing( sDir+"*", arrayFiles, false );