File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1499,6 +1499,7 @@ void Profile::LoadScoreGoalsFromNode(const XNode *pNode) {
1499
1499
ck = SONGMAN->ReconcileBustedKeys (ck);
1500
1500
goalmap[ck].LoadFromNode (chgoals);
1501
1501
}
1502
+ SONGMAN->SetHasGoal (goalmap);
1502
1503
}
1503
1504
1504
1505
void Profile::LoadPlaylistsFromNode (const XNode *pNode) {
Original file line number Diff line number Diff line change @@ -778,7 +778,7 @@ void SongManager::SetPermaMirroredStatus(set<string>& pmir) {
778
778
}
779
779
780
780
// hurr should probably redo both (all three) of these -mina
781
- void SongManager::SetHasGoal (map<RString, vector<ScoreGoal>> goalmap) {
781
+ void SongManager::SetHasGoal (unordered_map<string, GoalsForChart>& goalmap) {
782
782
FOREACH (Song*, m_pSongs, song)
783
783
FOREACH_CONST (Steps*, (*song)->GetAllSteps (), steps)
784
784
if (goalmap.count ((*steps)->GetChartKey ()))
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class SongManager
106
106
bool IsGroupNeverCached (const RString& group) const ;
107
107
void SetFavoritedStatus (set<string>& favs);
108
108
void SetPermaMirroredStatus (set<string>& pmir);
109
- void SetHasGoal (map<RString, vector<ScoreGoal>> goalmap);
109
+ void SetHasGoal (unordered_map<string, GoalsForChart>& goalmap);
110
110
111
111
RString GetSongGroupBannerPath ( const RString &sSongGroup ) const ;
112
112
// RString GetSongGroupBackgroundPath( RString sSongGroup ) const;
You can’t perform that action at this time.
0 commit comments