diff options
author | Torbjörn Andersson | 2017-08-06 13:30:51 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2017-08-06 13:30:51 +0200 |
commit | 70a2ca8b7d64e993fdab89c7b8b0d30ab4334824 (patch) | |
tree | 2e0686f9a69dc65cf8f2aeb801ccae8f2352b635 /engines/lastexpress/entities/francois.cpp | |
parent | 38a8015b830f8cec32f07bb9262d47cf096644e5 (diff) | |
download | scummvm-rg350-70a2ca8b7d64e993fdab89c7b8b0d30ab4334824.tar.gz scummvm-rg350-70a2ca8b7d64e993fdab89c7b8b0d30ab4334824.tar.bz2 scummvm-rg350-70a2ca8b7d64e993fdab89c7b8b0d30ab4334824.zip |
JANITORIAL: Silence more GCC 7 warnings
All these fall through were marked as deliberate, so again I've only
changed the comment to silence GCC.
Diffstat (limited to 'engines/lastexpress/entities/francois.cpp')
-rw-r--r-- | engines/lastexpress/entities/francois.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lastexpress/entities/francois.cpp b/engines/lastexpress/entities/francois.cpp index 8ef27cbe92..d2fb66c7ce 100644 --- a/engines/lastexpress/entities/francois.cpp +++ b/engines/lastexpress/entities/francois.cpp @@ -220,7 +220,7 @@ IMPLEMENT_FUNCTION(9, Francois, exitCompartment) case 1: getObjects()->update(kObjectCompartmentD, kEntityPlayer, kObjectLocation2, kCursorKeepValue, kCursorKeepValue); - // Fallback to next case + // fall through case 2: getData()->location = kLocationOutsideCompartment; @@ -256,7 +256,7 @@ IMPLEMENT_FUNCTION(10, Francois, enterCompartment) case 1: getObjects()->update(kObjectCompartmentD, kEntityPlayer, kObjectLocation2, kCursorKeepValue, kCursorKeepValue); getSavePoints()->push(kEntityFrancois, kEntityMmeBoutarel, kAction102484312); - // Fallback to next case + // fall through case 2: getData()->location = kLocationInsideCompartment; @@ -423,7 +423,7 @@ label_callback: case 2: getSavePoints()->push(kEntityFrancois, kEntityCoudert, kAction168253822); - // Fallback to next case + // fall through case 3: params->param2 = kCarRedSleeping; @@ -684,7 +684,7 @@ IMPLEMENT_FUNCTION_IIS(14, Francois, chaseBeetle, ObjectIndex, EntityPosition) case 8: getEntities()->exitCompartment(kEntityFrancois, (ObjectIndex)parameters->param1); - // Fallback to next case + // fall through case 9: setCallback(10); |