From f9e0cfb07ca014acbad110fac80e2c47f3fe6cc6 Mon Sep 17 00:00:00 2001 From: Ryan Dortmans Date: Fri, 26 Nov 2004 14:26:20 +0000 Subject: [PATCH] StepsID::Invalidate -> StepsID::ClearCache --- stepmania/src/SongManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index 6c591981da..5b6b871f52 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -697,7 +697,7 @@ void SongManager::Invalidate( Song *pStaleSong ) InitAutogenCourses(); // invalidate cache - StepsID::Invalidate( pStaleSong ); + StepsID::ClearCache(); #define CONVERT_COURSE_POINTER( pCourse ) do { \ CourseID id = mapOldCourseToCourseID[pCourse]; /* this will always succeed */ \ @@ -787,7 +787,7 @@ void SongManager::RevertFromDisk( Song *pSong, bool bAllowNotesLoss ) * encapsulation and placing confusing limitation on what can be done in * SONGMAN->Invalidate(). -Chris */ this->Invalidate( pSong ); - StepsID::Invalidate( pSong ); + StepsID::ClearCache(); @@ -1227,7 +1227,7 @@ void SongManager::FreeAllLoadedFromProfiles() } // After freeing some Steps pointers, the cache will be invalid. - SongID::ClearCache(); + StepsID::ClearCache(); } static bool CheckPointer( const Song *p )