pref to bass simplify lighting

This commit is contained in:
din
2023-07-10 19:48:12 -05:00
committed by teejusb
parent 980c3a4c3a
commit 9efc73df61
4 changed files with 26 additions and 1 deletions
+5 -1
View File
@@ -1419,6 +1419,7 @@ void ScreenGameplay::LoadLights()
pSteps->GetNoteData( TapNoteData1 );
//taken from oitg, restores arrow -> marquee/bass light mapping.
//if the user has a pref for more than one difficulty to make the lighting chart...
if( asDifficulties.size() > 1 )
{
Difficulty d2 = StringToDifficulty( asDifficulties[1] );
@@ -1427,7 +1428,10 @@ void ScreenGameplay::LoadLights()
pSteps2 = SongUtil::GetClosestNotes( GAMESTATE->m_pCurSong, st, d2 );
if(pSteps2 != nullptr)
//if the difficulities are actually different
//then we can use them to generate a lighting chart.
//as the user defined.
if(pSteps != pSteps2)
{
NoteData TapNoteData2;
pSteps2->GetNoteData( TapNoteData2 );