fix random courses not showing up on ranking screen the first time

through due to negative cached trails from before the random list
was available
This commit is contained in:
Glenn Maynard
2004-06-04 06:18:30 +00:00
parent a047366a73
commit 8767d7276f
+4
View File
@@ -162,6 +162,10 @@ void GameState::Reset()
SONGMAN->UpdateBest();
SONGMAN->UpdateShuffled();
/* We may have cached trails from before everything was loaded (eg. from before
* SongManager::UpdateBest could be called). Erase the cache. */
SONGMAN->RegenRandomTrailEntries();
g_vPlayedStageStats.clear();
FOREACH_PlayerNumber( p )