JANITORIAL: Silence some more GCC 7 fall through warnings

This commit is contained in:
Torbjörn Andersson 2017-08-06 16:35:03 +02:00
parent 5602ca3d64
commit 0bde79b2b8
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);