diff options
author | D G Turner | 2019-11-16 11:30:12 +0000 |
---|---|---|
committer | D G Turner | 2019-11-16 11:30:12 +0000 |
commit | 129988d0e946c622fd8319a19666c623850dac6d (patch) | |
tree | 4101897ccda7fb7848fb1f8d225194f39a5278de /engines/illusions/camera.cpp | |
parent | 4b6cb6878488577eb0c047e3baea412eb98d02c2 (diff) | |
download | scummvm-rg350-129988d0e946c622fd8319a19666c623850dac6d.tar.gz scummvm-rg350-129988d0e946c622fd8319a19666c623850dac6d.tar.bz2 scummvm-rg350-129988d0e946c622fd8319a19666c623850dac6d.zip |
ILLUSIONS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/illusions/camera.cpp')
-rw-r--r-- | engines/illusions/camera.cpp | 10 |
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; } } |