aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTorbjörn Andersson2017-08-06 16:35:03 +0200
committerTorbjörn Andersson2017-08-06 16:35:25 +0200
commit0bde79b2b84ea95bb1f4b79600bcd9a14b03079c (patch)
tree1f3c8d0eba0be0ecbc16930a4a9873b76abde77c /engines/scumm
parent5602ca3d64d5015b8b80e8ea47e408c25a08feb0 (diff)
downloadscummvm-rg350-0bde79b2b84ea95bb1f4b79600bcd9a14b03079c.tar.gz
scummvm-rg350-0bde79b2b84ea95bb1f4b79600bcd9a14b03079c.tar.bz2
scummvm-rg350-0bde79b2b84ea95bb1f4b79600bcd9a14b03079c.zip
JANITORIAL: Silence some more GCC 7 fall through warnings
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/insane/insane_ben.cpp6
-rw-r--r--engines/scumm/insane/insane_scenes.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/insane/insane_ben.cpp b/engines/scumm/insane/insane_ben.cpp
index de904610ee..b96ba56ea9 100644
--- a/engines/scumm/insane/insane_ben.cpp
+++ b/engines/scumm/insane/insane_ben.cpp
@@ -868,7 +868,7 @@ void Insane::actor02Reaction(int32 buttons) {
_actor[0].act[2].state = 77;
break;
}
- // break skipped intentionally
+ // fall through
default:
smlayer_setActorFacing(0, 2, 20, 180);
_actor[0].act[2].state = 20;
@@ -954,7 +954,7 @@ void Insane::actor02Reaction(int32 buttons) {
_actor[0].act[2].state = 83;
break;
}
- // break missed intentionally
+ // fall through
default:
smlayer_setActorFacing(0, 2, 20, 180);
_actor[0].act[2].state = 24;
@@ -1035,7 +1035,7 @@ void Insane::actor02Reaction(int32 buttons) {
_actor[0].act[2].state = 75;
break;
}
- // break missed intentionaly
+ // fall through
default:
smlayer_setActorFacing(0, 2, 20, 180);
_actor[0].act[2].state = 28;
diff --git a/engines/scumm/insane/insane_scenes.cpp b/engines/scumm/insane/insane_scenes.cpp
index 51b4bb33f5..c5897bec9e 100644
--- a/engines/scumm/insane/insane_scenes.cpp
+++ b/engines/scumm/insane/insane_scenes.cpp
@@ -222,7 +222,7 @@ void Insane::stopSceneSounds(int sceneId) {
case 3:
case 21:
flag = 1;
- // break is omittted intentionally
+ // fall through
case 13:
if (_actor[0].runningSound != 0)
smlayer_stopSound(_actor[0].runningSound);