aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/queen/logic.cpp')
-rw-r--r--engines/queen/logic.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/queen/logic.cpp b/engines/queen/logic.cpp
index 664a9a15f9..f82b994950 100644
--- a/engines/queen/logic.cpp
+++ b/engines/queen/logic.cpp
@@ -648,6 +648,8 @@ void Logic::setupJoeInRoom(bool autoPosition, uint16 scale) {
case DIR_RIGHT:
joeFacing(DIR_LEFT);
break;
+ default:
+ break;
}
}
joePrevFacing(joeFacing());
@@ -712,6 +714,8 @@ uint16 Logic::joeFace() {
case 37:
frame = 5;
break;
+ default:
+ break;
}
}
pbs->frameNum = 31;
@@ -756,6 +760,8 @@ void Logic::joeGrab(int16 grabState) {
// turn back
frame = 7;
break;
+ default:
+ break;
}
if (frame != 0) {
@@ -1107,6 +1113,8 @@ void Logic::handleSpecialArea(Direction facing, uint16 areaNum, uint16 walkDataN
case 1:
playCutaway("C50H.CUT", nextCut);
break;
+ default:
+ break;
}
}
break;
@@ -1134,6 +1142,8 @@ void Logic::handleSpecialArea(Direction facing, uint16 areaNum, uint16 walkDataN
case 2:
playCutaway("C73C.CUT");
break;
+ default:
+ break;
}
break;
case ROOM_TEMPLE_MAZE_5:
@@ -1156,9 +1166,13 @@ void Logic::handleSpecialArea(Direction facing, uint16 areaNum, uint16 walkDataN
case 1:
playCutaway("C103E.CUT", nextCut);
break;
+ default:
+ break;
}
}
break;
+ default:
+ break;
}
while (strlen(nextCut) > 4 &&
@@ -1360,6 +1374,8 @@ void Logic::setupRestoredGame() {
_vm->display()->palSetJoeDress();
loadJoeBanks("JOED_A.BBK", "JOED_B.BBK");
break;
+ default:
+ break;
}
BobSlot *pbs = _vm->graphics()->bob(0);