aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/illusions/camera.cpp')
-rw-r--r--engines/illusions/camera.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/illusions/camera.cpp b/engines/illusions/camera.cpp
index 7fdb219544..aa372be8c1 100644
--- a/engines/illusions/camera.cpp
+++ b/engines/illusions/camera.cpp
@@ -213,6 +213,8 @@ void Camera::pushCameraMode() {
item._panTargetPoint = _activeState._panTargetPoint;
item._panNotifyId = _activeState._panNotifyId;
break;
+ default:
+ break;
}
_stack.push(item);
}
@@ -245,6 +247,8 @@ void Camera::popCameraMode() {
case 6:
stopPan();
break;
+ default:
+ break;
}
}
@@ -268,6 +272,8 @@ void Camera::update(uint32 currTime) {
case 3:
updateMode3(currTime);
break;
+ default:
+ break;
}
if (_activeState._cameraMode != 6) {
@@ -333,6 +339,8 @@ bool Camera::isAtPanLimit(int limitNum) {
return _activeState._currPan.x <= _activeState._bounds._topLeft.x;
case 4:
return _activeState._currPan.x >= _activeState._bounds._bottomRight.x;
+ default:
+ break;
}
return false;
}
@@ -540,6 +548,8 @@ void Camera::init() {
case kGameIdBBDOU:
initBBDOU();
break;
+ default:
+ break;
}
}