aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/camera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/camera.cpp b/engines/scumm/camera.cpp
index 288441695f..524e9e78eb 100644
--- a/engines/scumm/camera.cpp
+++ b/engines/scumm/camera.cpp
@@ -341,10 +341,10 @@ void ScummEngine_v7::moveCamera() {
VAR(VAR_CAMERA_SPEED_X) += camera._accel.x / 100;
VAR(VAR_CAMERA_SPEED_Y) += camera._accel.y / 100;
- if (VAR(VAR_CAMERA_SPEED_X) < 8)
+ if (VAR(VAR_CAMERA_SPEED_X) > 8)
VAR(VAR_CAMERA_SPEED_X) = 8;
- if (VAR(VAR_CAMERA_SPEED_Y) < 8)
+ if (VAR(VAR_CAMERA_SPEED_Y) > 8)
VAR(VAR_CAMERA_SPEED_Y) = 8;
}