aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/versailles
diff options
context:
space:
mode:
authorD G Turner2019-10-17 18:47:32 +0100
committerD G Turner2019-10-17 18:47:32 +0100
commit9ce2ba27589b9341510427452a01a4217d70f55f (patch)
tree2ec0b2528cdeb0f7ed29600982aabd93798a0d36 /engines/cryomni3d/versailles
parent1dce33dd9f909b09a73902b3939b61a81a149b7a (diff)
downloadscummvm-rg350-9ce2ba27589b9341510427452a01a4217d70f55f.tar.gz
scummvm-rg350-9ce2ba27589b9341510427452a01a4217d70f55f.tar.bz2
scummvm-rg350-9ce2ba27589b9341510427452a01a4217d70f55f.zip
CRYOMNI3D: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/cryomni3d/versailles')
-rw-r--r--engines/cryomni3d/versailles/logic.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/cryomni3d/versailles/logic.cpp b/engines/cryomni3d/versailles/logic.cpp
index 952489c41e..248226c7a8 100644
--- a/engines/cryomni3d/versailles/logic.cpp
+++ b/engines/cryomni3d/versailles/logic.cpp
@@ -2683,6 +2683,7 @@ IMG_CB(88003) {
FixedImgCallback callback = nullptr;
switch (_gameVariables[GameVariables::kBombState]) {
case 1:
+ default:
callback = &CryOmni3DEngine_Versailles::img_88003b;
break;
case 2:
@@ -4308,6 +4309,8 @@ void CryOmni3DEngine_Versailles::filterEventLevel5UpdatePlaceStates() {
// Ladder is on the scaffolding
setPlaceState(16, 5);
break;
+ default:
+ break;
}
} else {
// Curtain is opened
@@ -4324,6 +4327,8 @@ void CryOmni3DEngine_Versailles::filterEventLevel5UpdatePlaceStates() {
// Ladder is on the scaffolding
setPlaceState(16, 6);
break;
+ default:
+ break;
}
}
}