From a992dcc91a5574bad055c38ee89f4c284bae5c27 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 22 Apr 2018 08:17:50 +0200 Subject: MOHAWK: LB: Mark some switch fall-throughs as intentional Fall-throughs are used as a way to handle optional parameters in this function. --- engines/mohawk/livingbooks_code.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/mohawk/livingbooks_code.cpp') 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 ¶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: -- cgit v1.2.3