aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cryo')
-rw-r--r--engines/cryo/eden.cpp13
-rw-r--r--engines/cryo/eden_graphics.cpp1
2 files changed, 14 insertions, 0 deletions
diff --git a/engines/cryo/eden.cpp b/engines/cryo/eden.cpp
index 247754c8ac..4753a347b7 100644
--- a/engines/cryo/eden.cpp
+++ b/engines/cryo/eden.cpp
@@ -1716,6 +1716,8 @@ void EdenGame::vivredino() {
perso->_steps = 1;
}
break;
+ default:
+ break;
}
}
}
@@ -2322,6 +2324,8 @@ void EdenGame::my_bulle() {
case 2:
_globals->_giveObj3 = c2;
break;
+ default:
+ break;
}
_globals->_numGiveObjs++;
*icons++ = *textPtr++;
@@ -5452,6 +5456,8 @@ void EdenGame::confirmYes() {
case 2:
reallyquit();
break;
+ default:
+ break;
}
}
@@ -5846,6 +5852,8 @@ void EdenGame::perso_ici(int16 action) {
case 5:
rangermammi(perso, _globals->_lastAreaPtr->_citadelRoomPtr);
break;
+ default:
+ break;
}
perso = _persons;
do {
@@ -5866,6 +5874,8 @@ void EdenGame::perso_ici(int16 action) {
case 5:
rangermammi(perso, _globals->_lastAreaPtr->_citadelRoomPtr);
break;
+ default:
+ break;
}
}
perso++;
@@ -7339,6 +7349,8 @@ void EdenGame::Eden_dep_and_rot() {
_rotationAngleX = 0;
_translationZ = Z_RESET;
break;
+ default:
+ break;
}
}
@@ -7809,6 +7821,7 @@ void EdenGame::enginePC() {
int step = _pcCursor->_speed;
switch (_pcCursor->_kind) {
case 0:
+ default:
break;
case 1: // rot up-down
decAngleY();
diff --git a/engines/cryo/eden_graphics.cpp b/engines/cryo/eden_graphics.cpp
index cec2a0af3b..b4a8817a0b 100644
--- a/engines/cryo/eden_graphics.cpp
+++ b/engines/cryo/eden_graphics.cpp
@@ -885,6 +885,7 @@ void EdenGraphics::displayEffect2() {
colimacon(pattern3);
break;
case 4:
+ default:
colimacon(pattern4);
eff2pat = 0;
break;