MOHAWK: LB: Mark some switch fall-throughs as intentional

Fall-throughs are used as a way to handle optional parameters in this
function.
This commit is contained in:
Bastien Bouclet 2018-04-22 08:17:50 +02:00
parent 0ebf04520a
commit a992dcc91a

View File

@ -1349,14 +1349,17 @@ void LBCode::cmdSetPlayParams(const Common::Array<LBValue> &params) {
switch (params.size()) {
case 8:
target->_soundMode = params[7].integer;
// fall through
case 7:
target->_controlMode = params[6].integer;
// fall through
case 6:
// TODO: _relocPoint?
case 5:
// TODO: _periodMin/Max
case 4:
target->_timingMode = params[3].integer;
// fall through
case 3:
// TODO: _delayMin/Max
case 2: