mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
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:
parent
0ebf04520a
commit
a992dcc91a
@ -1349,14 +1349,17 @@ void LBCode::cmdSetPlayParams(const Common::Array<LBValue> ¶ms) {
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user