cache Course::GetCourseInfo results

This commit is contained in:
Glenn Maynard
2003-12-21 02:54:23 +00:00
parent be307e76bd
commit ef6b831ea3
6 changed files with 60 additions and 11 deletions
+5
View File
@@ -19,6 +19,7 @@
#include "NoteData.h"
#include "RageSound.h"
#include "RageException.h"
#include "SongManager.h"
#include "SongCacheIndex.h"
#include "GameManager.h"
#include "PrefsManager.h"
@@ -100,6 +101,10 @@ void Song::Reset()
Song empty;
*this = empty;
/* Courses cache Notes* pointers. On the off chance that this isn't the last
* thing this screen does, clear that cache. */
SONGMAN->Cleanup();
}