aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game
diff options
context:
space:
mode:
authorTorbjörn Andersson2017-08-06 13:30:51 +0200
committerTorbjörn Andersson2017-08-06 13:30:51 +0200
commit70a2ca8b7d64e993fdab89c7b8b0d30ab4334824 (patch)
tree2e0686f9a69dc65cf8f2aeb801ccae8f2352b635 /engines/lastexpress/game
parent38a8015b830f8cec32f07bb9262d47cf096644e5 (diff)
downloadscummvm-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/game')
-rw-r--r--engines/lastexpress/game/scenes.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/lastexpress/game/scenes.cpp b/engines/lastexpress/game/scenes.cpp
index 0d8f51af6e..367573733f 100644
--- a/engines/lastexpress/game/scenes.cpp
+++ b/engines/lastexpress/game/scenes.cpp
@@ -344,43 +344,43 @@ LastExpress::SceneIndex SceneManager::processIndex(SceneIndex index) {
case 51:
if (!getEntities()->getPosition(car, 39))
return getSceneIndexFromPosition(car, 39);
- // Fallback to next case
+ // fall through
case 42:
case 52:
if (!getEntities()->getPosition(car, 14))
return getSceneIndexFromPosition(car, 14);
- // Fallback to next case
+ // fall through
case 43:
case 53:
if (!getEntities()->getPosition(car, 35))
return getSceneIndexFromPosition(car, 35);
- // Fallback to next case
+ // fall through
case 44:
case 54:
if (!getEntities()->getPosition(car, 10))
return getSceneIndexFromPosition(car, 10);
- // Fallback to next case
+ // fall through
case 45:
case 55:
if (!getEntities()->getPosition(car, 32))
return getSceneIndexFromPosition(car, 32);
- // Fallback to next case
+ // fall through
case 46:
case 56:
if (!getEntities()->getPosition(car, 7))
return getSceneIndexFromPosition(car, 7);
- // Fallback to next case
+ // fall through
case 47:
case 57:
if (!getEntities()->getPosition(car, 27))
return getSceneIndexFromPosition(car, 27);
- // Fallback to next case
+ // fall through
case 48:
case 58:
@@ -401,7 +401,7 @@ LastExpress::SceneIndex SceneManager::processIndex(SceneIndex index) {
case 54:
if (!getEntities()->getPosition(car, 51))
return getSceneIndexFromPosition(car, 51);
- // Fallback to next case
+ // fall through
case 50:
case 56:
@@ -409,31 +409,31 @@ LastExpress::SceneIndex SceneManager::processIndex(SceneIndex index) {
case 58:
if (!getEntities()->getPosition(car, 55))
return getSceneIndexFromPosition(car, 55);
- // Fallback to next case
+ // fall through
case 59:
if (!getEntities()->getPosition(car, 60))
return getSceneIndexFromPosition(car, 60);
- // Fallback to next case
+ // fall through
case 60:
if (!getEntities()->getPosition(car, 59))
return getSceneIndexFromPosition(car, 59);
- // Fallback to next case
+ // fall through
case 62:
case 63:
case 64:
if (!getEntities()->getPosition(car, 61))
return getSceneIndexFromPosition(car, 61);
- // Fallback to next case
+ // fall through
case 66:
case 67:
case 68:
if (!getEntities()->getPosition(car, 65))
return getSceneIndexFromPosition(car, 65);
- // Fallback to next case
+ // fall through
case 69:
case 71: