File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ SongUtil::AdjustDuplicateSteps(Song* pSong)
224
224
StepsUtil::SortNotesArrayByDifficulty (vSteps);
225
225
for (unsigned k = 1 ; k < vSteps.size (); k++) {
226
226
vSteps[k]->SetDifficulty (Difficulty_Edit);
227
+ vSteps[k]->SetDupeDiff (true );
227
228
if (vSteps[k]->GetDescription () == " " ) {
228
229
/* "Hard Edit" */
229
230
RString EditName =
Original file line number Diff line number Diff line change @@ -132,6 +132,8 @@ class Steps
132
132
const RString& sDescription );
133
133
void SetCredit (const RString& sCredit );
134
134
void SetChartStyle (const RString& sChartStyle );
135
+ void SetDupeDiff (bool state) { m_bDuplicateDifficulty = state; }
136
+ bool IsDupeDiff () { return m_bDuplicateDifficulty; }
135
137
static bool MakeValidEditDescription (
136
138
RString& sPreferredDescription ); // return true if was modified
137
139
@@ -319,6 +321,8 @@ class Steps
319
321
* @brief What is the maximum specified BPM?
320
322
* If this is a range, then min should not be equal to max. */
321
323
float specifiedBPMMax;
324
+
325
+ bool m_bDuplicateDifficulty = false ;
322
326
};
323
327
324
328
#endif
You can’t perform that action at this time.
0 commit comments