[backwards] Switches in switches: need a break.

This commit is contained in:
Jason Felds
2011-10-16 16:43:20 -04:00
parent 68061b13c5
commit 1f024cd739
+4 -1
View File
@@ -1212,6 +1212,7 @@ static void GetTrackMapping( StepsType st, NoteDataUtil::TrackMapping tt, int Nu
case NoteDataUtil::backwards:
{
// If a Pump game type, treat differently. Otherwise, send to mirror.
bool needsBackwards = true;
switch (st)
{
case StepsType_pump_single:
@@ -1254,8 +1255,10 @@ static void GetTrackMapping( StepsType st, NoteDataUtil::TrackMapping tt, int Nu
iTakeFromTrack[5] = 0;
break;
}
default:;
default:
needsBackwards = false;
}
if (needsBackwards) break;
}
case NoteDataUtil::mirror:
{