[backwards] Switches in switches: need a break.
This commit is contained in:
@@ -1212,6 +1212,7 @@ static void GetTrackMapping( StepsType st, NoteDataUtil::TrackMapping tt, int Nu
|
|||||||
case NoteDataUtil::backwards:
|
case NoteDataUtil::backwards:
|
||||||
{
|
{
|
||||||
// If a Pump game type, treat differently. Otherwise, send to mirror.
|
// If a Pump game type, treat differently. Otherwise, send to mirror.
|
||||||
|
bool needsBackwards = true;
|
||||||
switch (st)
|
switch (st)
|
||||||
{
|
{
|
||||||
case StepsType_pump_single:
|
case StepsType_pump_single:
|
||||||
@@ -1254,8 +1255,10 @@ static void GetTrackMapping( StepsType st, NoteDataUtil::TrackMapping tt, int Nu
|
|||||||
iTakeFromTrack[5] = 0;
|
iTakeFromTrack[5] = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:;
|
default:
|
||||||
|
needsBackwards = false;
|
||||||
}
|
}
|
||||||
|
if (needsBackwards) break;
|
||||||
}
|
}
|
||||||
case NoteDataUtil::mirror:
|
case NoteDataUtil::mirror:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user