aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene35.cpp
diff options
context:
space:
mode:
authorD G Turner2019-11-14 02:44:19 +0000
committerD G Turner2019-11-14 02:44:19 +0000
commit9190f6e1c8047446dd9c9c70525bc0e855cbe8dc (patch)
tree346b6730967544ef5b7efd05463853073b712c7a /engines/fullpipe/scenes/scene35.cpp
parent25a12ad89a96b8373760728b9aefb58f8530fac2 (diff)
downloadscummvm-rg350-9190f6e1c8047446dd9c9c70525bc0e855cbe8dc.tar.gz
scummvm-rg350-9190f6e1c8047446dd9c9c70525bc0e855cbe8dc.tar.bz2
scummvm-rg350-9190f6e1c8047446dd9c9c70525bc0e855cbe8dc.zip
FULLPIPE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled. Also, do minor fixes for readability to switch statements.
Diffstat (limited to 'engines/fullpipe/scenes/scene35.cpp')
-rw-r--r--engines/fullpipe/scenes/scene35.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene35.cpp b/engines/fullpipe/scenes/scene35.cpp
index b23a6397a7..05f69c62b2 100644
--- a/engines/fullpipe/scenes/scene35.cpp
+++ b/engines/fullpipe/scenes/scene35.cpp
@@ -181,7 +181,6 @@ int sceneHandler35(ExCommand *cmd) {
g_fp->playSound(SND_35_012, 1);
g_vars->scene35_flowCounter = 0;
- break;
}
break;
@@ -224,8 +223,8 @@ int sceneHandler35(ExCommand *cmd) {
}
}
}
- break;
}
+ break;
case 33:
if (g_fp->_aniMan2) {
@@ -258,6 +257,9 @@ int sceneHandler35(ExCommand *cmd) {
g_fp->startSceneTrack();
break;
+
+ default:
+ break;
}
return 0;