[backwards] Have Backwards fallback to Mirror.
Not all gametypes require Backwards: they will fall through to Mirror. Otherwise, catch it here.
This commit is contained in:
@@ -1208,8 +1208,9 @@ static void GetTrackMapping( StepsType st, NoteDataUtil::TrackMapping tt, int Nu
|
|||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case NoteDataUtil::mirror:
|
case NoteDataUtil::backwards:
|
||||||
{
|
{
|
||||||
|
// If a Pump game type, treat differently. Otherwise, send to mirror.
|
||||||
switch (st)
|
switch (st)
|
||||||
{
|
{
|
||||||
case StepsType_pump_single:
|
case StepsType_pump_single:
|
||||||
@@ -1252,15 +1253,15 @@ static void GetTrackMapping( StepsType st, NoteDataUtil::TrackMapping tt, int Nu
|
|||||||
iTakeFromTrack[5] = 0;
|
iTakeFromTrack[5] = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case NoteDataUtil::mirror:
|
||||||
{
|
{
|
||||||
for( int t=0; t<NumTracks; t++ )
|
for( int t=0; t<NumTracks; t++ )
|
||||||
iTakeFromTrack[t] = NumTracks-t-1;
|
iTakeFromTrack[t] = NumTracks-t-1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case NoteDataUtil::shuffle:
|
case NoteDataUtil::shuffle:
|
||||||
case NoteDataUtil::super_shuffle: // use shuffle code to mix up HoldNotes without creating impossible patterns
|
case NoteDataUtil::super_shuffle: // use shuffle code to mix up HoldNotes without creating impossible patterns
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user