aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cruise/gfxModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/gfxModule.cpp b/engines/cruise/gfxModule.cpp
index 3ed7ee6fce..798812577f 100644
--- a/engines/cruise/gfxModule.cpp
+++ b/engines/cruise/gfxModule.cpp
@@ -358,7 +358,7 @@ void switchBackground(const byte *newBg) {
sliceXEnd = MIN(xp + 7, 320);
} else
// Carry on of changed area
- sliceXEnd = MAX(xp + 7, sliceXEnd);
+ sliceXEnd = MAX(xp, sliceXEnd);
} else if ((sliceXEnd != -1) && (xp >= (sliceXEnd + 10))) {
// If more than 10 pixels have gone by without any changes, then end the slice