aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/scenes/scene24.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene24.cpp b/engines/fullpipe/scenes/scene24.cpp
index 08ac645ca2..508f776573 100644
--- a/engines/fullpipe/scenes/scene24.cpp
+++ b/engines/fullpipe/scenes/scene24.cpp
@@ -106,7 +106,7 @@ int sceneHandler24(ExCommand *cmd) {
if (x < g_fp->_sceneRect.left + 200) {
g_fp->_currentScene->_x = x - 300 - g_fp->_sceneRect.left;
}
- if (x > g_fp->_sceneRect.right - 200 - 1)
+ if (x > g_fp->_sceneRect.right - 200)
g_fp->_currentScene->_x = x + 300 - g_fp->_sceneRect.right;
}