diff options
author | Bastien Bouclet | 2018-04-22 08:17:50 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-04-22 08:17:50 +0200 |
commit | a992dcc91a5574bad055c38ee89f4c284bae5c27 (patch) | |
tree | a7a19592eb27ca53c75b61fe141764e35c4713c7 /engines | |
parent | 0ebf04520a7e5d2eff59fda6d90cd8b39b43b301 (diff) | |
download | scummvm-rg350-a992dcc91a5574bad055c38ee89f4c284bae5c27.tar.gz scummvm-rg350-a992dcc91a5574bad055c38ee89f4c284bae5c27.tar.bz2 scummvm-rg350-a992dcc91a5574bad055c38ee89f4c284bae5c27.zip |
MOHAWK: LB: Mark some switch fall-throughs as intentional
Fall-throughs are used as a way to handle optional parameters in this
function.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/livingbooks_code.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mohawk/livingbooks_code.cpp b/engines/mohawk/livingbooks_code.cpp index b5ea547414..7eb5a0cc3a 100644 --- a/engines/mohawk/livingbooks_code.cpp +++ b/engines/mohawk/livingbooks_code.cpp @@ -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: |